2 solutions

  • 0
    @ 2026-1-7 22:48:27

    #include <bits/stdc++.h> using namespace std;

    int main() { for (int i = 0; i <= 35; i++) { for (int j = 0; j <= 35; j++) { if (i + j == 35 && i * 2 + j * 4 == 94) { cout << "鸡:" << i << " 兔:" << j; break; } } }

    return 0;
    

    }

    • 0
      @ 2025-7-12 16:23:28

      #include using namespace std;

      int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++) { if (i * j < 10) cout << i << "*" << j << "= " << j i << " "; else cout << i << "" << j << "=" << j *i << " "; } cout << endl; } return 0; }

      • 1

      Information

      ID
      269
      Time
      1000ms
      Memory
      64MiB
      Difficulty
      2
      Tags
      # Submissions
      70
      Accepted
      46
      Uploaded By