실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:14:13: error: redeclaration of ‘int s’ 14 | int s=(int)round((double)n*0.15); | ^ Main.cpp:12:13: note: ‘int s’ previously declared here 12 | int s=0,N=0; | ^ Main.cpp:6:16: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | int n;scanf("%d",&n); | ~~~~~^~~~~~~~~ Main.cpp:11:48: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | int I[300000];for(int i=0;i<n;i++)scanf("%d",&I[i]); | ~~~~~^~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.