/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:48:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:51:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(i = 0;i<n;i++)scanf("%d",&a[i]);
                    ~~~~~^~~~~~~~~~~~
foo.cc:54:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&l,&r);
   ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 392.0 KiB
#3 Wrong Answer Read -2015340670, expect 2279626626. 2ms 384.0 KiB
#4 Wrong Answer Read 367990236, expect 8957924828. 4ms 416.0 KiB
#5 Wrong Answer Read -357103592, expect 51182503960. 9ms 400.0 KiB
#6 Wrong Answer Read -493128171, expect 10440572368405. 807ms 824.0 KiB
#7 Time Exceeded ≥1280ms ≥1.027 MiB
#8 Time Exceeded ≥1345ms ≥1.164 MiB
#9 Time Exceeded ≥1446ms ≥808.0 KiB
#10 Time Exceeded ≥1366ms ≥1.16 MiB

信息

递交者
类型
递交
题目
P1459 车展
语言
C++
递交时间
2021-10-25 17:07:26
评测时间
2021-10-25 17:07:26
评测机
分数
20
总耗时
≥6267ms
峰值内存
≥1.164 MiB