/ new_bzoj /

记录详情

Time Exceeded

foo.cc: In function 'long long int find(long long int)':
foo.cc:14:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   14 |                 int mid=l+r>>1;
      |                         ~^~
foo.cc: In function 'int main()':
foo.cc:48:29: warning: unused variable 'tmp' [-Wunused-variable]
   48 |                         int tmp=a[pos];
      |                             ^~~
foo.cc: In function 'long long int find(long long int)':
foo.cc:18:16: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized]
   18 |         return pos;
      |                ^~~
foo.cc:12:25: note: 'pos' was declared here
   12 |         int l=1,r=2*m+n,pos;
      |                         ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1, expect 1. 2ms 332.0 KiB
#2 Time Exceeded ≥5100ms ≥2.645 MiB
#3 Time Exceeded ≥5100ms ≥2.496 MiB
#4 Time Exceeded ≥5100ms ≥284.0 KiB
#5 Time Exceeded ≥5100ms ≥284.0 KiB
#6 Time Exceeded ≥5101ms ≥1.152 MiB
#7 Time Exceeded ≥5000ms ≥1.652 MiB
#8 Time Exceeded ≥5100ms ≥1.832 MiB
#9 Time Exceeded ≥5000ms ≥1.645 MiB
#10 Time Exceeded ≥5100ms ≥2.742 MiB

信息

递交者
类型
递交
题目
Book 书架
语言
C++
递交时间
2023-05-20 22:38:33
评测时间
2023-05-20 22:38:33
评测机
分数
0
总耗时
≥45708ms
峰值内存
≥2.742 MiB