Mã chấm: 269730


Main.cc: In function ‘int main()’:
Main.cc:14:3: error: expected statement at end of input
   else
   ^~~~
Main.cc:14:3: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
cc1plus: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
Main.cc:14:3: error: expected ‘}’ at end of input
Main.cc:14:3: error: expected ‘}’ at end of input
Main.cc:10:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~