Time Exceeded

foo.cc: In function 'void Build(int, int, int)':
foo.cc:12:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   12 |  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:26:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   26 |  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:39:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   39 |  int mid=l+r>>1,lc=k<<1,rc=k<<1|1,ret=0;
      |          ~^~
foo.cc: In function 'int main()':
foo.cc:49:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   49 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:51:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   51 |   scanf("%d",del+i);
      |   ~~~~~^~~~~~~~~~~~
foo.cc:54:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   54 |  scanf("%d",&m);
      |  ~~~~~^~~~~~~~~
foo.cc:58:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   58 |   scanf("%d%d%d",&op,&l,&r);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1101ms ≥1.75 MiB
#2 Time Exceeded ≥1100ms ≥1.75 MiB
#3 Time Exceeded ≥1099ms ≥1.121 MiB
#4 Time Exceeded ≥1099ms ≥1.75 MiB
#5 Time Exceeded ≥1101ms ≥1.762 MiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 253ms 632.0 KiB
#9 Time Exceeded ≥1100ms ≥1.746 MiB
#10 Time Exceeded ≥1101ms ≥1.75 MiB

信息

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