记录详情

Accepted

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:23:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while((ch=getchar())<'0'||ch>'9')if(ch=='-')flag=-1;res=ch-48;
  ^~~~~
/in/foo.cc:23:54: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while((ch=getchar())<'0'||ch>'9')if(ch=='-')flag=-1;res=ch-48;
                                                      ^~~
/in/foo.cc:24:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while((ch=getchar())>='0'&&ch<='9')res=res*10+ch-48;res*=flag;
  ^~~~~
/in/foo.cc:24:54: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while((ch=getchar())>='0'&&ch<='9')res=res*10+ch-48;res*=flag;
                                                      ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 2.25 MiB
#3 Accepted 4ms 2.25 MiB
#4 Accepted 1ms 2.469 MiB
#5 Accepted 3ms 2.25 MiB
#6 Accepted 3ms 2.316 MiB
#7 Accepted 6ms 2.625 MiB
#8 Accepted 3ms 2.375 MiB
#9 Accepted 2ms 2.613 MiB
#10 Accepted 3ms 2.574 MiB

信息

递交者
类型
递交
题目
No Target
比赛
Easy Round3
语言
C++
递交时间
2017-08-18 21:53:28
评测时间
2017-08-18 21:53:28
评测机
分数
100
总耗时
35ms
峰值内存
2.625 MiB