Problem topsilver
User Zubair
Submission Time 2026-06-26 14:24:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topsilver.cpp:13:11: error: missing terminating " character
13 | cout<<"lucky<<endl;
| ^~~~~~~~~~~~~
topsilver.cpp: In function ‘int main()’:
topsilver.cpp:7:11: error: ‘x’ was not declared in this scope
7 | if(cin>>x>>Y) {
| ^
topsilver.cpp:8:7: error: ‘y’ was not declared in this scope
8 | if(y==x-1){
| ^
topsilver.cpp:14:6: error: expected primary-expression before ‘return’
14 | return 0;
| ^~~~~~
topsilver.cpp:15:4: error: expected ‘}’ at end of input
15 | }
| ^
topsilver.cpp:7:17: note: to match this ‘{’
7 | if(cin>>x>>Y) {
| ^
topsilver.cpp:15:4: error: expected ‘}’ at end of input
15 | }
| ^
topsilver.cpp:5:16: note: to match this ‘{’
5 | signed main() {
| ^