Problem platonic3
User AndyChen
Submission Time 2026-06-14 17:36:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic3.cpp: In function ‘int main()’:
platonic3.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
platonic3.cpp:5:2: note: in expansion of macro ‘int’
5 | int n, score = 0;
| ^~~
platonic3.cpp:5:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n, score = 0;
| ^
| yn
platonic3.cpp:5:9: error: ‘score’ was not declared in this scope
5 | int n, score = 0;
| ^~~~~
platonic3.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
platonic3.cpp:8:7: note: in expansion of macro ‘int’
8 | for (int i = 0; i < n; i++){
| ^~~
platonic3.cpp:8:11: error: ‘i’ was not declared in this scope
8 | for (int i = 0; i < n; i++){
| ^
platonic3.cpp:8:23: error: