제출 #287754

#제출 시각아이디문제언어결과실행 시간메모리
287754caoashExamination (JOI19_examination)C++14
0 / 100
3098 ms256 KiB
#include <iostream> using namespace std; #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; }

컴파일 시 표준 에러 (stderr) 메시지

examination.cpp:3: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
    3 | #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...