실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:17:14: warning: writing into constant object (argument 2) [-Wformat=] 17 | scanf("%s", strInput.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Main.cpp:20:55: error: ‘pow’ was not declared in this scope 20 | llReturn += (strInput[i] - 'a' + 1) * pow(iR, i); | ^~~ Main.cpp:23:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] 23 | printf("%d", llReturn); | ~^ ~~~~~~~~ | | | | int long long int | %lld Main.cpp:14:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | scanf("%d", &iLen); | ~~~~~^~~~~~~~~~~~~ Main.cpp:17:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | scanf("%s", strInput.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.