Submission #287753

#TimeUsernameProblemLanguageResultExecution timeMemory
287753caoashExamination (JOI19_examination)C++14
0 / 100
3088 ms256 KiB
#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; }

Compilation message (stderr)

examination.cpp:4: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
    4 | #pragma GCC optimization ("O3")
      | 
examination.cpp:5: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
    5 | #pragma GCC optimization ("unroll-loops")
      |
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...