/ Vijos /

记录详情

Accepted

foo.cc: In function 'int getint()':
foo.cc:23:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar();
 ^~~~~
foo.cc:23:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
 while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar();
                                                ^~
foo.cc:24:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
 ^~~~~
foo.cc:24:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
 while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
                                                     ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 588.0 KiB
#2 Accepted 6ms 1.59 MiB
#3 Accepted 6ms 1.59 MiB
#4 Accepted 969ms 78.844 MiB
#5 Accepted 1488ms 78.859 MiB
#6 Accepted 1533ms 78.879 MiB
#7 Accepted 1554ms 78.867 MiB
#8 Accepted 1564ms 78.848 MiB
#9 Accepted 1545ms 78.867 MiB
#10 Accepted 1416ms 78.848 MiB

信息

递交者
类型
递交
题目
P2001 xor-sigma
语言
C++
递交时间
2021-07-23 09:04:23
评测时间
2021-07-23 09:04:23
评测机
分数
100
总耗时
10088ms
峰值内存
78.879 MiB