실행 실패 (제출 코드 컴파일 에러)
Main.cpp:25:36: error: stray ‘#’ in program 25 | if((root%j)==0){break;}#include <iostream> | ^ Main.cpp: In function ‘int main()’: Main.cpp:20:18: warning: unused variable ‘j’ [-Wunused-variable] 20 | for (int j=1;i*i<a;i++){root++;} | ^ Main.cpp:25:37: error: ‘include’ was not declared in this scope 25 | if((root%j)==0){break;}#include <iostream> | ^~~~~~~ Main.cpp:25:54: error: expected primary-expression before ‘>’ token 25 | if((root%j)==0){break;}#include <iostream> | ^ Main.cpp:27:1: error: expected primary-expression before ‘using’ 27 | using namespace std; | ^~~~~ Main.cpp:28:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 28 | int main(){ | ^~ Main.cpp:28:9: note: remove parentheses to default-initialize a variable 28 | int main(){ | ^~ | -- Main.cpp:28:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:28:11: error: a function-definition is not allowed here before ‘{’ token 28 | int main(){ | ^ Main.cpp:23:13: warning: unused variable ‘isUnique’ [-Wunused-variable] 23 | int isUnique=0; | ^~~~~~~~ Main.cpp:63:2: error: expected ‘}’ at end of input 63 | } | ^ Main.cpp:4:11: note: to match this ‘{’ 4 | int main(){ | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.