Problem platonic12
User Feiyang
Submission Time 2026-02-09 17:48:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic12.cpp: In function ‘int main()’:
platonic12.cpp:7:22: error: expected initializer before ‘>>’ token
7 | long long a, cin >> a;
| ^~
platonic12.cpp:9:24: error: ‘n’ was not declared in this scope
9 | for(int i = 0; i < n; i++){
| ^
platonic12.cpp:10:26: error: expected initializer before ‘>>’ token
10 | long long b, cin >> b;
| ^~
platonic12.cpp:11:23: error: expected ‘;’ before ‘}’ token
11 | v.push_back(b)
| ^
| ;
12 | }
| ~
platonic12.cpp:13:24: error: ‘n’ was not declared in this scope
13 | for(int i = 0; i < n; i++){
| ^