记录详情

Accepted

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:30: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:30: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:31: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:31: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 24ms 15.5 MiB
#2 Accepted 26ms 15.492 MiB
#3 Accepted 27ms 15.625 MiB
#4 Accepted 28ms 15.5 MiB
#5 Accepted 24ms 15.5 MiB
#6 Accepted 24ms 15.5 MiB
#7 Accepted 25ms 15.5 MiB
#8 Accepted 24ms 15.438 MiB
#9 Accepted 24ms 15.59 MiB
#10 Accepted 21ms 15.625 MiB

信息

递交者
类型
递交
题目
E
语言
C++
递交时间
2017-08-27 21:43:09
评测时间
2017-08-27 21:43:09
评测机
分数
100
总耗时
252ms
峰值内存
15.625 MiB