记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  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]
  for(int i=1;i<=n;i++)scanf("%d",a+i);
                       ~~~~~^~~~~~~~~~
foo.cc:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&x,&y);
   ~~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 11ms 460.0 KiB
#2 Accepted 12ms 428.0 KiB
#3 Accepted 12ms 428.0 KiB
#4 Accepted 12ms 460.0 KiB
#5 Accepted 12ms 428.0 KiB
#6 Accepted 12ms 460.0 KiB
#7 Time Exceeded ≥2366ms ≥544.0 KiB
#8 Time Exceeded ≥2366ms ≥548.0 KiB
#9 Time Exceeded ≥2432ms ≥548.0 KiB
#10 Time Exceeded ≥2433ms ≥548.0 KiB
#11 Time Exceeded ≥2327ms ≥552.0 KiB
#12 Time Exceeded ≥2325ms ≥552.0 KiB
#13 Time Exceeded ≥2336ms ≥700.0 KiB
#14 Time Exceeded ≥2335ms ≥696.0 KiB
#15 Time Exceeded ≥2430ms ≥700.0 KiB
#16 Time Exceeded ≥2431ms ≥692.0 KiB
#17 Time Exceeded ≥2437ms ≥692.0 KiB
#18 Time Exceeded ≥2440ms ≥692.0 KiB
#19 Time Exceeded ≥2436ms ≥696.0 KiB
#20 Time Exceeded ≥2459ms ≥696.0 KiB

信息

递交者
类型
递交
题目
P1006 区间
语言
C++
递交时间
2021-01-31 13:29:10
评测时间
2021-01-31 13:29:10
评测机
分数
30
总耗时
≥33634ms
峰值内存
≥700.0 KiB