/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:16: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:16: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:17: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:17: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 5ms 4.375 MiB
#2 Accepted 4ms 2.375 MiB
#3 Accepted 5ms 4.332 MiB
#4 Accepted 5ms 4.359 MiB
#5 Accepted 4ms 2.375 MiB
#6 Accepted 3ms 4.34 MiB
#7 Accepted 5ms 4.352 MiB
#8 Accepted 5ms 4.48 MiB
#9 Accepted 5ms 4.348 MiB
#10 Accepted 6ms 4.359 MiB
#11 Accepted 11ms 4.477 MiB
#12 Accepted 16ms 4.875 MiB
#13 Accepted 24ms 4.863 MiB
#14 Accepted 34ms 4.836 MiB
#15 Accepted 37ms 4.984 MiB
#16 Accepted 44ms 7.0 MiB
#17 Accepted 52ms 5.488 MiB
#18 Accepted 62ms 6.219 MiB

信息

递交者
类型
递交
题目
P1769 网络的关键边
语言
C++
递交时间
2017-10-18 21:23:29
评测时间
2017-10-18 21:23:32
评测机
分数
100
总耗时
334ms
峰值内存
7.0 MiB