记录详情

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 , expect 15. 1ms 256.0 KiB
#3 Wrong Answer Read , expect 60. 3ms 256.0 KiB
#4 Wrong Answer Read , expect 79. 3ms 256.0 KiB
#5 Wrong Answer Read , expect 131. 2ms 256.0 KiB
#6 Wrong Answer Read , expect 186. 3ms 256.0 KiB
#7 Wrong Answer Read , expect 262. 6ms 384.0 KiB
#8 Wrong Answer Read , expect 186. 4ms 256.0 KiB
#9 Wrong Answer Read , expect 185. 4ms 256.0 KiB
#10 Wrong Answer Read , expect 182. 4ms 256.0 KiB

信息

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