실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘std::string maxS(std::string&, std::string&)’: Main.cpp:13:44: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses] 13 | if (A.size()!=B.size()){return A.size()>B.size()^(na)?a:b;} | ~~~~~~~~^~~~~~~~~ Main.cpp:14:22: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses] 14 | if(A!=B){return A>B^na?a:b;} | ~^~ Main.cpp: In function ‘std::string sumS(std::string, std::string)’: Main.cpp:50:16: error: ‘cmp’ was not declared in this scope; did you mean ‘bcmp’? 50 | return(cmp>0?(na?"-":"")+subS(A,B):(nb?"-":"")+subS(B,A)); | ^~~ | bcmp
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.