3 solutions

  • 3
    @ 2026-3-28 15:57:43

    这个代码运行示例包对的,可以直接无脑运行ovo\

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

    int main() { int n, a; cin >> n >> a; cout << "25"; return 0; }

    • 3
      @ 2026-3-28 15:54:45

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

      int main() { long long x, y, sum = 0; cin >> x >> y; if (x > y) swap(x, y); for (int i = x; i <= y; i++) { bool q = 1; for (int j = 2; j <= sqrt(i); j++) if (i % j == 0) { q = 0; break; } if (q && i != 1) sum++; } cout << sum << endl; return 0; }

      • -10
        @ 2026-2-1 17:27:55

        我是答案

        答案如下:

        头文件

        主函数{

        内容(需解锁会员 --点我充值--)

        }

        • @ 2026-2-27 15:40:47

          代碼有格調!

      • 1

      Information

      ID
      12098
      Time
      1000ms
      Memory
      128MiB
      Difficulty
      1
      Tags
      # Submissions
      22
      Accepted
      8
      Uploaded By