/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:4:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:5:31: 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",&c[i]);
                          ~~~~~^~~~~~~~~~~~
foo.cc:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&m);
  ~~~~~^~~~~~~~~
foo.cc:8:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&a,&b);
   ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 2ms 340.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 59ms 700.0 KiB
#5 Accepted 226ms 1.129 MiB
#6 Accepted 459ms 1.824 MiB
#7 Accepted 570ms 2.141 MiB
#8 Accepted 747ms 2.281 MiB
#9 Time Exceeded ≥1242ms ≥3.234 MiB
#10 Time Exceeded ≥1661ms ≥3.211 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2021-08-19 16:51:45
评测时间
2021-08-19 16:51:45
评测机
分数
80
总耗时
≥4973ms
峰值内存
≥3.234 MiB