실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:15:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 15 | for (int i = 0; i < N.size(); i++) | ~~^~~~~~~~~~ Main.cpp:19:40: error: ‘pow’ was not declared in this scope 19 | ans += (N[i] - 'A' + 10) * pow(B, N.size() - i - 1); | ^~~ Main.cpp:23:35: error: ‘pow’ was not declared in this scope 23 | ans += (N[i] - '0') * pow(B, N.size() - i - 1); | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.