记录详情

Accepted

foo.cc: In function 'void read(_T&)':
foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
     ^~
foo.cc:12:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
                                          ^~
foo.cc: In function 'int main()':
foo.cc:44:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         mid=le+ri>>1;
             ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 412.0 KiB
#2 Accepted 2ms 400.0 KiB
#3 Accepted 2ms 392.0 KiB
#4 Accepted 2ms 436.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 456.0 KiB
#8 Accepted 2ms 536.0 KiB
#9 Accepted 2ms 556.0 KiB
#10 Accepted 3ms 716.0 KiB
#11 Accepted 4ms 812.0 KiB
#12 Accepted 3ms 828.0 KiB
#13 Accepted 3ms 832.0 KiB
#14 Accepted 4ms 840.0 KiB
#15 Accepted 12ms 2.871 MiB
#16 Accepted 17ms 4.422 MiB
#17 Accepted 24ms 5.309 MiB
#18 Accepted 34ms 8.344 MiB
#19 Accepted 35ms 7.773 MiB
#20 Accepted 38ms 10.07 MiB

信息

递交者
类型
递交
题目
P1108 聪明的质检员
语言
C++
递交时间
2021-07-17 16:46:59
评测时间
2021-07-17 16:46:59
评测机
分数
100
总耗时
205ms
峰值内存
10.07 MiB