记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:62:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:65:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%lld",&a[i].first,&a[i].second,&w[i]);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:69:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&m);
  ~~~~~^~~~~~~~~
foo.cc:70:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(i=0;i<m;i++) scanf("%d",&b[i]);
                   ~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 512.0 KiB
#2 Wrong Answer 读取到 87115 ,应为 67026 1ms 512.0 KiB
#3 Wrong Answer 读取到 38530 ,应为 24551 1ms 512.0 KiB
#4 Wrong Answer 读取到 169087 ,应为 80268 2ms 512.0 KiB
#5 Wrong Answer 读取到 204330 ,应为 108120 2ms 640.0 KiB
#6 Wrong Answer 读取到 5372764911 ,应为 1945549379 4ms 640.0 KiB
#7 Wrong Answer 读取到 4704516671 ,应为 1431137888 3ms 640.0 KiB
#8 Wrong Answer 读取到 5453346393 ,应为 1785727869 14ms 1016.0 KiB
#9 Time Exceeded ≥2826ms ≥1.457 MiB
#10 Accepted 1ms 640.0 KiB

信息

递交者
类型
递交
题目
P1123 疫情控制
语言
C++
递交时间
2020-11-12 23:48:17
评测时间
2020-11-12 23:48:17
评测机
分数
20
总耗时
≥2861ms
峰值内存
≥1.457 MiB