실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import<ios> | ^~~~~~ Main.cpp:2:7: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 2 | int c;main(){for(char s[1e8];~scanf("%s",s;c++);printf("%d",c);} | ^~~~ Main.cpp: In function ‘int main()’: Main.cpp:2:25: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression 2 | int c;main(){for(char s[1e8];~scanf("%s",s;c++);printf("%d",c);} | ^~~ Main.cpp:2:25: error: could not convert ‘1.0e+8’ from ‘double’ to ‘long unsigned int’ 2 | int c;main(){for(char s[1e8];~scanf("%s",s;c++);printf("%d",c);} | ^~~ | | | double Main.cpp:2:25: error: size of array ‘s’ has non-integral type ‘double’ Main.cpp:2:43: error: expected ‘)’ before ‘;’ token 2 | int c;main(){for(char s[1e8];~scanf("%s",s;c++);printf("%d",c);} | ~ ^ | )
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.