/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void read(T&)':
/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 is 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=ch-48+res*10;res*=flag;
  ^~~~~
/in/foo.cc:10: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=ch-48+res*10;res*=flag;
                                                      ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 364.0 KiB
#2 Wrong Answer 4ms 328.0 KiB
#3 Wrong Answer 5ms 352.0 KiB
#4 Wrong Answer 6ms 512.0 KiB
#5 Wrong Answer 7ms 640.0 KiB
#6 Wrong Answer 27ms 3.375 MiB
#7 Wrong Answer 46ms 3.25 MiB
#8 Wrong Answer 60ms 4.113 MiB
#9 Wrong Answer 39ms 4.105 MiB
#10 Wrong Answer 52ms 4.125 MiB

信息

递交者
类型
递交
题目
P1971 紫电穿风刺
语言
C++
递交时间
2017-10-30 21:45:52
评测时间
2017-10-30 21:45:52
评测机
分数
0
总耗时
255ms
峰值内存
4.125 MiB