Run id: 155737
Main.cc: In lambda function:
Main.cc:8:17: error: expected '{' before ';' token
int d[11]=[];
^
Main.cc: In function 'int main()':
Main.cc:8:17: error: array must be initialized with a brace-enclosed initializer
Main.cc:9:17: error: 'j' was not declared in this scope
for(int i=1;j=1;i<=1000;i++;j+=i){
^
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){
^