0_0_19287407_9433.cpp: In function 'void init()':
0_0_19287407_9433.cpp:10:5: error: expected ';' before 'for'
for(int i = 1; i <= 100000;++i)
^
0_0_19287407_9433.cpp:10:20: error: 'i' was not declared in this scope
for(int i = 1; i <= 100000;++i)
^
0_0_19287407_9433.cpp:12:9: error: 'else' without a previous 'if'
else sum[i] = sum[i-1]+i;
^
|