记录详情

Compile Error

foo.c: In function 'main':
foo.c:4:25: error: expected expression before ';' token
    4 | int n,a[20000],b[20000]=;
      |                         ^
foo.c:5:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 | scanf("%d",&n);
      | ^~~~~~~~~~~~~~
foo.c:6:22: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 | for(int i=1;i<=n;i++)scanf("%d",&a[i]);
      |                      ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
4-2 最长递增子序列
语言
C
递交时间
2021-12-14 13:37:12
评测时间
2021-12-14 14:00:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes