Run id: 137747
Main.cc: In function 'int main()':
Main.cc:19:19: error: expected primary-expression before '{' token
for(int j=12;j<={n-i}*2-1;j++){
^
Main.cc:19:19: error: expected ';' before '{' token
Main.cc:19:19: error: expected primary-expression before '{' token
Main.cc:19:19: error: expected ')' before '{' token
Main.cc:19:23: error: expected ';' before '}' token
for(int j=12;j<={n-i}*2-1;j++){
^
Main.cc:19:21: warning: statement has no effect [-Wunused-value]
for(int j=12;j<={n-i}*2-1;j++){
^
Main.cc:19:25: error: invalid type argument of unary '*' (have 'int')
for(int j=12;j<={n-i}*2-1;j++){
^
Main.cc:19:29: error: 'j' was not declared in this scope
for(int j=12;j<={n-i}*2-1;j++){
^
Main.cc:23:2: error: expected ';' before '}' token
}
^
Main.cc:5:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n) ;
^