记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:9:2: warning: statement with no effect [-Wunused-value]
    9 |  for (i; i < n; i++) {
      |  ^~~
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
foo.c:10:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   10 |   scanf("%d", &a[i]);
      |   ^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Wrong Answer Read 8, expect 15. 2ms 256.0 KiB
#3 Wrong Answer Read 14, expect 60. 4ms 256.0 KiB
#4 Wrong Answer Read 14, expect 79. 9ms 256.0 KiB
#5 Wrong Answer Read 21, expect 131. 44ms 320.0 KiB
#6 Wrong Answer Read 18, expect 186. 116ms 356.0 KiB
#7 Wrong Answer Read 20, expect 262. 265ms 384.0 KiB
#8 Wrong Answer Read 17, expect 186. 75ms 376.0 KiB
#9 Wrong Answer Read 19, expect 185. 72ms 376.0 KiB
#10 Wrong Answer Read 17, expect 182. 85ms 384.0 KiB

信息

递交者
类型
递交
题目
4-2 最长递增子序列
语言
C
递交时间
2021-12-22 22:33:17
评测时间
2021-12-22 22:33:17
评测机
分数
10
总耗时
679ms
峰值内存
384.0 KiB