记录详情

Compile Error

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:11:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while((ch=getchar())<'0'||ch>'9');res=ch-48;
  ^~~~~
/in/foo.cc:11:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while((ch=getchar())<'0'||ch>'9');res=ch-48;
                                    ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:24:1: error: expected ';' before '}' token
 }
 ^
/in/foo.cc:24:1: warning: statement has no effect [-Wunused-value]

信息

递交者
类型
递交
比赛
Easy Round3
语言
C++
递交时间
2017-08-18 22:08:21
评测时间
2017-08-18 22:08:21
评测机
分数
0
总耗时
300ms
峰值内存
37.883 MiB