Submission #874239

# Submission time Handle Problem Language Result Execution time Memory
874239 2023-11-16T14:04:29 Z hcmd Examination (JOI19_examination) C++14
0 / 100
3000 ms 348 KB
#include <iostream>

using namespace std;

//#pragma GCC target ("avx2")
//#pragma GCC optimization ("O3")
//#pragma GCC optimization ("unroll-loops")

int cnt = 0;

int main() {
    for (int i = 1; i <= 30000; i++) {
        for (int j = 1; j <= 30000; j++) {
            if (i % j <= 10) cnt++;
        }
    }

    cout << cnt << endl;
	
    return 0;
}
# Verdict Execution time Memory Grader output
1 Execution timed out 3030 ms 348 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 3051 ms 348 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 3051 ms 348 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 3030 ms 348 KB Time limit exceeded
2 Halted 0 ms 0 KB -