/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(_T&)':
/in/foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
     ^~
/in/foo.cc:12:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
                                          ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:44:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         mid=le+ri>>1;
             ~~^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 412.0 KiB
#2 Accepted 1ms 416.0 KiB
#3 Accepted 2ms 424.0 KiB
#4 Accepted 2ms 356.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Accepted 1ms 376.0 KiB
#7 Accepted 2ms 420.0 KiB
#8 Accepted 2ms 548.0 KiB
#9 Accepted 2ms 504.0 KiB
#10 Accepted 3ms 596.0 KiB
#11 Accepted 4ms 672.0 KiB
#12 Accepted 4ms 696.0 KiB
#13 Accepted 4ms 744.0 KiB
#14 Accepted 5ms 764.0 KiB
#15 Accepted 15ms 1.973 MiB
#16 Accepted 20ms 3.113 MiB
#17 Accepted 28ms 3.496 MiB
#18 Accepted 39ms 5.773 MiB
#19 Accepted 40ms 5.027 MiB
#20 Accepted 51ms 6.418 MiB

信息

递交者
类型
递交
题目
P1740 聪明的质检员
语言
C++
递交时间
2021-12-16 20:49:09
评测时间
2021-12-16 20:49:09
评测机
分数
100
总耗时
237ms
峰值内存
6.418 MiB