Mã chấm: 269725
Main.cc: In function ‘int main()’:
Main.cc:8:13: warning: unused variable ‘tong’ [-Wunused-variable]
double tong=0;
^~~~
Main.cc:10:17: error: expected ‘}’ at end of input
scanf("%d", &n);
^
Main.cc:10:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~