记录详情

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 2ms 228.0 KiB
#2 Accepted 2ms 220.0 KiB
#3 Accepted 2ms 224.0 KiB
#4 Accepted 2ms 220.0 KiB
#5 Accepted 2ms 228.0 KiB
#6 Accepted 2ms 224.0 KiB
#7 Accepted 2ms 348.0 KiB
#8 Accepted 3ms 356.0 KiB
#9 Accepted 3ms 356.0 KiB
#10 Accepted 4ms 480.0 KiB
#11 Accepted 5ms 576.0 KiB
#12 Accepted 5ms 596.0 KiB
#13 Accepted 5ms 536.0 KiB
#14 Accepted 6ms 640.0 KiB
#15 Accepted 20ms 1.848 MiB
#16 Accepted 28ms 3.0 MiB
#17 Accepted 36ms 3.375 MiB
#18 Accepted 53ms 5.648 MiB
#19 Accepted 56ms 4.902 MiB
#20 Accepted 71ms 6.391 MiB

信息

递交者
类型
递交
题目
P1108 聪明的质检员
语言
C++
递交时间
2021-02-10 21:58:52
评测时间
2021-02-10 21:58:52
评测机
分数
100
总耗时
315ms
峰值内存
6.391 MiB