실행 실패 (제출 코드 컴파일 에러)
Main.cpp:5:15: error: ‘c’ has not been declared 5 | main(string a,c){cin>>a>>c;cout<<(b(a)>=b(c)?b(a):b(c));} | ^ Main.cpp:5:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 5 | main(string a,c){cin>>a>>c;cout<<(b(a)>=b(c)?b(a):b(c));} | ^~~~ Main.cpp:5:1: warning: first argument of ‘int main(std::string, int)’ should be ‘int’ [-Wmain] Main.cpp:5:1: warning: second argument of ‘int main(std::string, int)’ should be ‘char **’ [-Wmain] Main.cpp: In function ‘int main(std::string, int)’: Main.cpp:5:26: error: ‘c’ was not declared in this scope 5 | main(string a,c){cin>>a>>c;cout<<(b(a)>=b(c)?b(a):b(c));} | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.