/ new_bzoj /

记录详情

Accepted

foo.cc: In function 'long long int find(long long int)':
foo.cc:13:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   13 |                 int mid=l+r>>1;
      |                         ~^~
foo.cc:17:16: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized]
   17 |         return pos;
      |                ^~~
foo.cc:11:25: note: 'pos' was declared here
   11 |         int l=1,r=2*m+n,pos;
      |                         ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 236ms 2.762 MiB
#3 Accepted 222ms 2.645 MiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 3ms 284.0 KiB
#6 Accepted 81ms 1.145 MiB
#7 Accepted 245ms 1.93 MiB
#8 Accepted 240ms 2.016 MiB
#9 Accepted 184ms 2.523 MiB
#10 Accepted 194ms 2.703 MiB

信息

递交者
类型
递交
题目
Book 书架
语言
C++
递交时间
2023-05-20 14:16:42
评测时间
2023-05-20 14:16:42
评测机
分数
100
总耗时
1412ms
峰值内存
2.762 MiB