Time Exceeded

foo.cc: In function 'void Build(int, int, int)':
foo.cc:13:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   13 |  int mid=l+r>>1,lc=k<<1,rc=k<<1|1;
      |          ~^~
foo.cc: In function 'void Sq(int, int, int, int, int)':
foo.cc:27:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   27 |  int mid=l+r>>1,lc=k<<1,rc=k<<1|1;
      |          ~^~
foo.cc: In function 'int Query(int, int, int, int, int)':
foo.cc:40:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   40 |  int mid=l+r>>1,lc=k<<1,rc=k<<1|1,ret=0;
      |          ~^~
foo.cc: In function 'int main()':
foo.cc:50:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   50 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:52:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   52 |   scanf("%d",del+i);
      |   ~~~~~^~~~~~~~~~~~
foo.cc:55:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   55 |  scanf("%d",&m);
      |  ~~~~~^~~~~~~~~
foo.cc:59:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   59 |   scanf("%d%d%d",&op,&l,&r);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1099ms ≥1.617 MiB
#2 Time Exceeded ≥1099ms ≥1.617 MiB
#3 Time Exceeded ≥1100ms ≥1.0 MiB
#4 Time Exceeded ≥1100ms ≥1.621 MiB
#5 Time Exceeded ≥1099ms ≥1.75 MiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 1ms 256.0 KiB
#8 Accepted 226ms 512.0 KiB
#9 Time Exceeded ≥1100ms ≥1.625 MiB
#10 Time Exceeded ≥1100ms ≥1.625 MiB

信息

递交者
类型
递交
题目
「一本通 4.3 练习 2」花神游历各国
语言
C++
递交时间
2022-08-01 16:51:34
评测时间
2022-08-01 16:51:34
评测机
分数
30
总耗时
≥7928ms
峰值内存
≥1.75 MiB