/ Contest /

记录详情

Accepted

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:9: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:9:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  while((ch=getchar())<'0'||ch>'9')if(ch=='-')flag=-1;res=ch-48;
                                                      ^~~
/in/foo.cc:10: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:10:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  while((ch=getchar())>='0'&&ch<='9')res=res*10+ch-48;res*=flag;
                                                      ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 700.0 KiB
#2 Accepted 7ms 2.676 MiB
#3 Accepted 7ms 1.184 MiB
#4 Accepted 14ms 3.176 MiB
#5 Accepted 20ms 3.312 MiB
#6 Accepted 18ms 4.422 MiB
#7 Accepted 20ms 3.309 MiB
#8 Accepted 25ms 4.93 MiB
#9 Accepted 18ms 4.801 MiB
#10 Accepted 18ms 4.793 MiB

信息

递交者
类型
递交
题目
我可能遇到了假的石子合并
语言
C++
递交时间
2017-10-02 16:34:46
评测时间
2017-10-02 16:34:46
评测机
分数
100
总耗时
156ms
峰值内存
4.93 MiB