记录详情

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:14:7: warning: unused variable 'flag' [-Wunused-variable]
   14 |   int flag = 1;
      |       ^~~~
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 2ms 256.0 KiB
#2 Wrong Answer Read 23, expect 15. 6ms 384.0 KiB
#3 Wrong Answer Read 146, expect 60. 2ms 256.0 KiB
#4 Wrong Answer Read 387, expect 79. 3ms 256.0 KiB
#5 Wrong Answer Read 1326, expect 131. 3ms 256.0 KiB
#6 Wrong Answer Read 3039, expect 186. 3ms 256.0 KiB
#7 Wrong Answer Read 8834, expect 262. 4ms 384.0 KiB
#8 Wrong Answer Read 2609, expect 186. 3ms 256.0 KiB
#9 Wrong Answer Read 1986, expect 185. 2ms 256.0 KiB
#10 Wrong Answer Read 2464, expect 182. 2ms 256.0 KiB

信息

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