실행 실패 (제출 코드 컴파일 에러)
Main.cpp:46:2: error: stray ‘#’ in program 46 | }#include <iostream> | ^ Main.cpp: In function ‘int main()’: Main.cpp:28:9: warning: unused variable ‘Q’ [-Wunused-variable] 28 | int Q = (limit - 1) / a + 1; | ^ Main.cpp: At global scope: Main.cpp:46:3: error: ‘include’ does not name a type 46 | }#include <iostream> | ^~~~~~~ Main.cpp:51:11: error: redefinition of ‘long long int gcd(int, int)’ 51 | long long gcd(int a,int b){ | ^~~ Main.cpp:6:11: note: ‘long long int gcd(int, int)’ previously defined here 6 | long long gcd(int a,int b){ | ^~~ Main.cpp:59:11: error: redefinition of ‘long long int lcms(int, int)’ 59 | long long lcms(int a,int b){ | ^~~~ Main.cpp:14:11: note: ‘long long int lcms(int, int)’ previously defined here 14 | long long lcms(int a,int b){ | ^~~~ Main.cpp:63:5: error: redefinition of ‘int main()’ 63 | int main(){ | ^~~~ Main.cpp:18:5: note: ‘int main()’ previously defined here 18 | int main(){ | ^~~~ Main.cpp: In function ‘int main()’: Main.cpp:73:9: warning: unused variable ‘Q’ [-Wunused-variable] 73 | int Q = (limit - 1) / a + 1; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.