실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:10:24: error: expected initializer before ‘x’ 10 | int a, b, r_a, r_b x = n, y = n; | ^ Main.cpp:13:18: error: ‘x’ was not declared in this scope 13 | if (a >= x || b >= y) continue; | ^ Main.cpp:13:28: error: ‘y’ was not declared in this scope 13 | if (a >= x || b >= y) continue; | ^ Main.cpp:14:16: error: ‘x’ was not declared in this scope 14 | r_a = (x - a) * y; r_b = x * (y - b); | ^ Main.cpp:14:25: error: ‘y’ was not declared in this scope 14 | r_a = (x - a) * y; r_b = x * (y - b); | ^ Main.cpp:14:28: error: ‘r_b’ was not declared in this scope; did you mean ‘r_a’? 14 | r_a = (x - a) * y; r_b = x * (y - b); | ^~~ | r_a Main.cpp:18:13: error: ‘x’ was not declared in this scope 18 | cout << x * y << endl; | ^ Main.cpp:18:17: error: ‘y’ was not declared in this scope 18 | cout << x * y << endl; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.