Problem GSS
User estkn
Submission Time 2026-11-03 15:07:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

GSS.cpp: In function ‘int main()’:
GSS.cpp:13:6: error: redeclaration of ‘int finalNum’
13 | int finalNum = 0;
| ^~~~~~~~
GSS.cpp:6:9: note: ‘int finalNum’ previously declared here
6 | int n, finalNum = 0;
| ^~~~~~~~