/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(_T&)':
/in/foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   12 |     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 were guarded by the 'if'
   12 |     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]
   44 |         mid=le+ri>>1;
      |             ~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 432.0 KiB
#2 Accepted 2ms 476.0 KiB
#3 Accepted 2ms 580.0 KiB
#4 Accepted 2ms 480.0 KiB
#5 Accepted 2ms 576.0 KiB
#6 Accepted 2ms 484.0 KiB
#7 Accepted 2ms 528.0 KiB
#8 Accepted 2ms 536.0 KiB
#9 Accepted 2ms 688.0 KiB
#10 Accepted 4ms 636.0 KiB
#11 Accepted 5ms 676.0 KiB
#12 Accepted 5ms 836.0 KiB
#13 Accepted 5ms 864.0 KiB
#14 Accepted 5ms 676.0 KiB
#15 Accepted 14ms 2.078 MiB
#16 Accepted 15ms 3.227 MiB
#17 Accepted 18ms 3.613 MiB
#18 Accepted 24ms 5.883 MiB
#19 Accepted 25ms 5.133 MiB
#20 Accepted 31ms 6.555 MiB

信息

递交者
类型
递交
题目
P1740 聪明的质检员
语言
C++
递交时间
2025-10-14 19:48:32
评测时间
2025-10-14 19:48:32
评测机
分数
100
总耗时
179ms
峰值内存
6.555 MiB