0_0_36473307_12212.cpp: In function 'void INIT()':
0_0_36473307_12212.cpp:28:5: error: 'sum' was not declared in this scope
sum=0;
^
0_0_36473307_12212.cpp: In function 'void solve()':
0_0_36473307_12212.cpp:59:13: error: 'sum' was not declared in this scope
sum++;
^
0_0_36473307_12212.cpp:62:8: error: 'sum' was not declared in this scope
if(sum!=n-1){
^
0_0_36473307_12212.cpp:70:13: error: 'sum' was not declared in this scope
sum++;
^
|