记录详情

Compile Error

foo.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
    2 | AnDian(int a[500][500],int m,int n)
      | ^~~~~~
foo.c: In function 'AnDian':
foo.c:9:13: error: 'j' undeclared (first use in this function)
    9 |   for(l=0 ; j<n ; j++)
      |             ^
foo.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
foo.c: In function 'main':
foo.c:32:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   32 |  scanf("%d %d\n",&m,&n);
      |  ^~~~~~~~~~~~~~~~~~~~~~
foo.c:36:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   36 |    scanf("%d",&a[i][l]);
      |    ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
4-5 有几个鞍点
比赛
2022春 C语言课程设计 作业3
语言
C
递交时间
2022-04-25 23:25:31
评测时间
2022-04-25 23:25:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes