Run id: 128781
Main.cc: In function 'int main()':
Main.cc:9:17: error: expected ';' before 'j'
for(int i=1 j=1;i<=1000;i++,j+=i){
^
Main.cc:9:17: error: 'j' was not declared in this scope
Main.cc:9:22: warning: for increment expression has no effect [-Wunused-value]
for(int i=1 j=1;i<=1000;i++,j+=i){
^
Main.cc:9:28: error: expected ')' before ';' token
for(int i=1 j=1;i<=1000;i++,j+=i){
^
Main.cc:9:29: error: 'i' was not declared in this scope
for(int i=1 j=1;i<=1000;i++,j+=i){
^
Main.cc:9:33: error: 'j' was not declared in this scope
for(int i=1 j=1;i<=1000;i++,j+=i){
^
Main.cc:16:23: error: expected ')' before ';' token
for(i+=1;i<10;i++;){
^
Main.cc:16:24: error: expected primary-expression before ')' token
for(i+=1;i<10;i++;){
^