/ new_bzoj /

记录详情

Accepted

foo.cc: In function 'int find(int)':
foo.cc:12:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   12 |                 int mid=l+r>>1;
      |                         ~^~
foo.cc:16:16: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized]
   16 |         return pos;
      |                ^~~
foo.cc:10:25: note: 'pos' was declared here
   10 |         int l=1,r=2*m+n,pos;
      |                         ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB

信息

递交者
类型
自测
题目
Book 书架
语言
C++
递交时间
2023-05-18 21:12:09
评测时间
2023-05-18 21:12:09
评测机
分数
10
总耗时
2ms
峰值内存
284.0 KiB