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