/ Vijos /

记录详情

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 2ms 384.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 2ms 400.0 KiB
#4 Accepted 1ms 436.0 KiB
#5 Accepted 2ms 412.0 KiB
#6 Accepted 2ms 424.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 512.0 KiB
#9 Accepted 3ms 508.0 KiB
#10 Accepted 3ms 708.0 KiB
#11 Accepted 3ms 768.0 KiB
#12 Accepted 4ms 828.0 KiB
#13 Accepted 4ms 896.0 KiB
#14 Accepted 4ms 848.0 KiB
#15 Accepted 13ms 2.816 MiB
#16 Accepted 17ms 4.422 MiB
#17 Accepted 24ms 5.34 MiB
#18 Accepted 34ms 8.352 MiB
#19 Accepted 32ms 7.781 MiB
#20 Accepted 41ms 10.191 MiB

信息

递交者
类型
递交
题目
P1740 聪明的质检员
语言
C++
递交时间
2021-04-08 21:07:08
评测时间
2021-04-08 21:07:08
评测机
分数
100
总耗时
203ms
峰值内存
10.191 MiB