Problem compleecode
User usernamehere
Submission Time 2024-07-19 16:04:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

compleecode.cpp: In function ‘int solve2(int)’:
compleecode.cpp:31:9: error: redeclaration of ‘int res’
31 | int res = 0;
| ^~~
compleecode.cpp:28:9: note: ‘int res’ previously declared here
28 | int res=a;
| ^~~