Run id: 146405
Main.cc: In function 'int main()':
Main.cc:7:16: error: expected ';' before ')' token
for(c[i]!='\0'){
^
Main.cc:7:10: warning: statement has no effect [-Wunused-value]
for(c[i]!='\0'){
^
Main.cc:17:1: error: expected primary-expression at end of input
}
^
Main.cc:17:1: error: expected ';' at end of input
Main.cc:17:1: error: expected primary-expression at end of input
Main.cc:17:1: error: expected ')' at end of input
Main.cc:17:1: error: expected statement at end of input
Main.cc:4:18: warning: unused variable 'a' [-Wunused-variable]
char c[1000001],a,b;
^
Main.cc:4:20: warning: unused variable 'b' [-Wunused-variable]
char c[1000001],a,b;
^
Main.cc:17:1: error: expected '}' at end of input
}
^