Problem mirrors
User Karax
Submission Time 2026-02-02 17:20:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mirrors.cpp: In function ‘int main()’:
mirrors.cpp:23:13: error: ‘luck’ was not declared in this scope; did you mean ‘luckl’?
23 | luck += 1;
| ^~~~
| luckl
mirrors.cpp:31:17: error: ‘luck’ was not declared in this scope; did you mean ‘luckl’?
31 | luck += 1;
| ^~~~
| luckl
mirrors.cpp:41:9: error: redeclaration of ‘long long int l’
41 | int l = 0;
| ^
mirrors.cpp:18:9: note: ‘long long int l’ previously declared here
18 | int l = 1;
| ^
mirrors.cpp:42:9: error: redeclaration of ‘long long int r’
42 | int r = 0;
| ^
mirrors.cpp:19:9: note: ‘long long int r’ previously declared here
19 | int r = 0;
| ^
mirrors.cpp:46:13: error: ‘luck’ was not declared in this scope; did you mean ‘luckr’?
46 | luck += 1;