0_0_21789694_17508.cpp: In function 'void solve()':
0_0_21789694_17508.cpp:31:9: error: expected ',' or ';' before 'int'
int j;
^
0_0_21789694_17508.cpp:32:13: error: 'j' was not declared in this scope
for(j = 1; j <= N; ++j)
^
0_0_21789694_17508.cpp:38:19: error: 'j' was not declared in this scope
p[temp] = j;
^
|