Problem mirrors
User Karax
Submission Time 2026-02-20 13:28:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mirrors.cpp: In function ‘int main()’:
mirrors.cpp:25:5: error: ‘luck’ was not declared in this scope; did you mean ‘luckl’?
25 | luck += 1;
| ^~~~
| luckl
mirrors.cpp:38:6: error: ‘luck’ was not declared in this scope; did you mean ‘luckl’?
38 | luck += 1;
| ^~~~
| luckl
mirrors.cpp:51:6: error: redeclaration of ‘long long int l’
51 | int l = 0;
| ^
mirrors.cpp:18:6: note: ‘long long int l’ previously declared here
18 | int l = 1;
| ^
mirrors.cpp:52:6: error: redeclaration of ‘long long int r’
52 | int r = 0;
| ^
mirrors.cpp:19:6: note: ‘long long int r’ previously declared here
19 | int r = 0;
| ^
mirrors.cpp:58:4: error: ‘luck’ was not declared in this scope; did you mean ‘luckr’?
58 | luck += 1;
| ^~~~
| luckr
mirrors.cpp:71:6: error: ‘luck’ was not declared in this sco