记录详情

Wrong Answer

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. 5ms 1.0 MiB
#2 Wrong Answer Read 16, expect 15. 3ms 1.0 MiB
#3 Wrong Answer Read 61, expect 60. 9ms 1.0 MiB
#4 Wrong Answer Read 80, expect 79. 32ms 1.117 MiB
#5 Wrong Answer Read 132, expect 131. 111ms 1.0 MiB
#6 Wrong Answer Read 187, expect 186. 301ms 1.0 MiB
#7 Wrong Answer Read 263, expect 262. 981ms 1.0 MiB
#8 Wrong Answer Read 187, expect 186. 251ms 1.0 MiB
#9 Wrong Answer Read 186, expect 185. 277ms 1.0 MiB
#10 Wrong Answer Read 183, expect 182. 243ms 1.0 MiB

信息

递交者
类型
递交
题目
4-2 最长递增子序列
语言
C
递交时间
2021-12-14 17:44:20
评测时间
2021-12-14 17:44:20
评测机
分数
0
总耗时
2217ms
峰值内存
1.117 MiB