记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:24:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   24 |    if(i-1>=0&&a[i]==a[i-1] || i+1<=n&&a[i]==a[i+1]-1)
      |       ~~~~~~^~~~~~~~~~~~~~
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   16 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:18:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |   scanf("%d",&a[i]);
      |   ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1100ms ≥768.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Time Exceeded ≥1099ms ≥888.0 KiB
#4 Accepted 11ms 384.0 KiB
#5 Time Exceeded ≥1099ms ≥1016.0 KiB
#6 Accepted 11ms 512.0 KiB
#7 Time Exceeded ≥1100ms ≥780.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Time Exceeded ≥1100ms ≥1.012 MiB
#10 Accepted 2ms 384.0 KiB
#11 Time Exceeded ≥1100ms ≥640.0 KiB
#12 Accepted 3ms 384.0 KiB
#13 Time Exceeded ≥1001ms ≥640.0 KiB
#14 Accepted 3ms 384.0 KiB
#15 Time Exceeded ≥1099ms ≥1.0 MiB
#16 Accepted 25ms 384.0 KiB
#17 Time Exceeded ≥1100ms ≥896.0 KiB
#18 Accepted 2ms 384.0 KiB
#19 Time Exceeded ≥1100ms ≥1.125 MiB
#20 Accepted 2ms 384.0 KiB
#21 Time Exceeded ≥1101ms ≥1.0 MiB
#22 Accepted 6ms 384.0 KiB
#23 Time Exceeded ≥1100ms ≥1.0 MiB
#24 Accepted 23ms 384.0 KiB
#25 Accepted 4ms 384.0 KiB
#26 Accepted 2ms 384.0 KiB
#27 Accepted 10ms 512.0 KiB
#28 Accepted 2ms 384.0 KiB
#29 Accepted 6ms 512.0 KiB
#30 Accepted 2ms 384.0 KiB
#31 Accepted 7ms 512.0 KiB
#32 Accepted 3ms 384.0 KiB
#33 Accepted 5ms 384.0 KiB
#34 Accepted 3ms 384.0 KiB
#35 Accepted 5ms 384.0 KiB
#36 Accepted 3ms 384.0 KiB
#37 Accepted 4ms 384.0 KiB
#38 Accepted 2ms 384.0 KiB
#39 Accepted 7ms 512.0 KiB
#40 Accepted 2ms 384.0 KiB
#41 Accepted 14ms 640.0 KiB
#42 Accepted 2ms 384.0 KiB
#43 Accepted 4ms 512.0 KiB
#44 Accepted 2ms 384.0 KiB
#45 Accepted 13ms 768.0 KiB
#46 Accepted 2ms 384.0 KiB
#47 Accepted 8ms 512.0 KiB
#48 Accepted 2ms 384.0 KiB
#49 Accepted 2ms 384.0 KiB
#50 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1355 4C Find Missing X
比赛
悬赏令第四周
语言
C++
递交时间
2022-04-23 16:34:41
评测时间
2022-04-23 16:34:41
评测机
分数
76
总耗时
≥13335ms
峰值内存
≥1.125 MiB