/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
foo.cc:12:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(register int i = 1; i <= n; i++) scanf("%d", h + i);
                                       ~~~~~^~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 1.5 MiB
#2 Accepted 3ms 1.535 MiB
#3 Accepted 2ms 1.5 MiB
#4 Accepted 3ms 1.5 MiB
#5 Accepted 3ms 1.5 MiB
#6 Accepted 4ms 1.5 MiB
#7 Accepted 9ms 1.527 MiB
#8 Accepted 714ms 1.598 MiB
#9 Time Exceeded ≥1381ms ≥848.0 KiB
#10 Time Exceeded ≥1176ms ≥1000.0 KiB

信息

递交者
类型
递交
题目
P1845 花匠
语言
C++
递交时间
2021-01-16 10:15:49
评测时间
2021-01-16 10:15:49
评测机
分数
80
总耗时
≥3301ms
峰值内存
≥1.598 MiB