실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import<ios> | ^~~~~~ Main.cpp:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 2 | main(){for(char a[3],i=6;i--;printf("%d ",(i?i>3?1:2:8)-a[0])gets(a);} | ^~~~ Main.cpp: In function ‘int main()’: Main.cpp:2:62: error: expected ‘)’ before ‘gets’ 2 | main(){for(char a[3],i=6;i--;printf("%d ",(i?i>3?1:2:8)-a[0])gets(a);} | ~ ^~~~ | ) Main.cpp:2:62: error: ‘gets’ was not declared in this scope; did you mean ‘getw’? 2 | main(){for(char a[3],i=6;i--;printf("%d ",(i?i>3?1:2:8)-a[0])gets(a);} | ^~~~ | getw
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.