Problem mirrors
User potatoed78
Submission Time 2025-06-21 17:58:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mirrors.cpp: In function ‘int main()’:
mirrors.cpp:95:9: error: redeclaration of ‘int x’
95 | int x=1, r=2; // x is left and 1-indexed, r is bside
| ^
mirrors.cpp:41:9: note: ‘int x’ previously declared here
41 | int x=1, r=2, ans = 0; // x is left and 1-indexed, r is bside
| ^
mirrors.cpp:95:14: error: redeclaration of ‘int r’
95 | int x=1, r=2; // x is left and 1-indexed, r is bside
| ^
mirrors.cpp:41:14: note: ‘int r’ previously declared here
41 | int x=1, r=2, ans = 0; // x is left and 1-indexed, r is bside
| ^