/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:12:5: 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:12:57: 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:13:5: 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:13:57: 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 4ms 2.348 MiB
#2 Accepted 5ms 2.5 MiB
#3 Accepted 5ms 4.465 MiB
#4 Accepted 109ms 76.473 MiB
#5 Accepted 112ms 76.0 MiB
#6 Accepted 110ms 76.375 MiB
#7 Accepted 121ms 76.875 MiB
#8 Accepted 120ms 76.75 MiB
#9 Accepted 105ms 76.625 MiB
#10 Accepted 98ms 76.625 MiB

信息

递交者
类型
递交
题目
P1676 陶陶吃苹果
语言
C++
递交时间
2017-10-30 20:08:02
评测时间
2017-10-30 20:08:02
评测机
分数
100
总耗时
795ms
峰值内存
76.875 MiB