记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:7:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    7 | scanf("%d%d",&n,&Q);
      | ~~~~~^~~~~~~~~~~~~~
foo.cc:8:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 | for(int i=1;i<=n;i++){scanf("%d",&a[i]);}
      |                       ~~~~~^~~~~~~~~~~~
foo.cc:11:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 | scanf("%d%d",&l,&r);
      | ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥7ms ≥392.0 KiB
#2 Time Exceeded ≥5ms ≥384.0 KiB
#3 Time Exceeded ≥2ms ≥384.0 KiB
#4 Time Exceeded ≥3ms ≥384.0 KiB
#5 Time Exceeded ≥3ms ≥384.0 KiB

信息

递交者
类型
递交
题目
【模板】序列前缀和
语言
C++
递交时间
2022-03-01 23:26:43
评测时间
2022-03-01 23:26:43
评测机
分数
0
总耗时
≥23ms
峰值内存
≥392.0 KiB