记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |   scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
foo.c:21:6: warning: 'b[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   21 |  int max=b[0];
      |      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 5, expect 4. 3ms 1.0 MiB
#2 Wrong Answer Read 16, expect 15. 4ms 1.0 MiB
#3 Wrong Answer Read 61, expect 60. 10ms 1.0 MiB
#4 Wrong Answer Read 80, expect 79. 32ms 1.0 MiB
#5 Wrong Answer Read 132, expect 131. 106ms 1.0 MiB
#6 Wrong Answer Read 187, expect 186. 313ms 1.0 MiB
#7 Time Exceeded ≥1100ms ≥1.0 MiB
#8 Wrong Answer Read 187, expect 186. 306ms 1.0 MiB
#9 Wrong Answer Read 186, expect 185. 266ms 1.0 MiB
#10 Wrong Answer Read 183, expect 182. 246ms 1.0 MiB

信息

递交者
类型
递交
题目
4-2 最长递增子序列
比赛
2021(四) 作业第四场:加速赛
语言
C
递交时间
2021-12-09 13:37:03
评测时间
2021-12-09 13:37:03
评测机
分数
0
总耗时
≥2390ms
峰值内存
≥1.0 MiB