0_0_39304905_7526.cpp:16:7: error: conflicting declaration 'int N'
16 | int S,N,n;
| ^
0_0_39304905_7526.cpp:14:11: note: previous declaration as 'const int N'
14 | const int N = 1e6+10;
| ^
0_0_39304905_7526.cpp: In function 'void solve()':
0_0_39304905_7526.cpp:20:11: error: assignment of read-only variable 'N'
20 | S = N = 0;
| ~~^~~
0_0_39304905_7526.cpp:23:16: error: 'x' was not declared in this scope
23 | cin >> x;
| ^
|