Problem topsilver
User King6767
Submission Time 2026-06-26 14:38:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topsilver.cpp: In function ‘int main()’:
topsilver.cpp:6:9: error: expected unqualified-id before numeric constant
6 | int 2n;cin>>2n;
| ^~
topsilver.cpp:6:17: error: unable to find numeric literal operator ‘operator""n’
6 | int 2n;cin>>2n;
| ^~
topsilver.cpp:8:8: error: ‘Y’ was not declared in this scope
8 | if(Y 1 <= X)
| ^
topsilver.cpp:8:9: error: expected ‘)’ before numeric constant
8 | if(Y 1 <= X)
| ~ ^~
| )
topsilver.cpp:9:15: error: ‘top’ was not declared in this scope
9 | { cout << top spirit ;
| ^~~
topsilver.cpp:10:5: error: expected ‘}’ before ‘else’
10 | else if (Y <= X)
| ^~~~
topsilver.cpp:9:5: note: to match this ‘{’
9 | { cout << top spirit ;
| ^
topsilver.cpp:10:19: error: ‘X’ was not declared in thi