记录详情

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;
             ~~^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 412.0 KiB
#7 Accepted 2ms 412.0 KiB
#8 Accepted 2ms 512.0 KiB
#9 Accepted 2ms 500.0 KiB
#10 Accepted 3ms 700.0 KiB
#11 Accepted 3ms 800.0 KiB
#12 Accepted 4ms 848.0 KiB
#13 Accepted 3ms 888.0 KiB
#14 Accepted 4ms 896.0 KiB
#15 Accepted 12ms 2.883 MiB
#16 Accepted 18ms 4.418 MiB
#17 Accepted 26ms 5.332 MiB
#18 Accepted 32ms 8.352 MiB
#19 Accepted 33ms 7.766 MiB
#20 Accepted 39ms 10.195 MiB

信息

递交者
类型
递交
题目
P1108 聪明的质检员
语言
C++
递交时间
2021-03-29 19:55:26
评测时间
2021-03-29 19:55:26
评测机
分数
100
总耗时
202ms
峰值内存
10.195 MiB