记录详情

Compile Error

foo.c: In function 'main':
foo.c:9:5: warning: 'main' is normally a non-static function [-Wmain]
 int main()
     ^~~~
foo.c:49:1: error: expected declaration or statement at end of input
 }
 ^
foo.c:5:6: warning: unused variable 'a' [-Wunused-variable]
  int a[505][505];
      ^
foo.c:6:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  int m,n;scanf("%d%d",&m,&n);
          ^~~~~~~~~~~~~~~~~~~
At top level:
foo.c:9:5: warning: 'main' defined but not used [-Wunused-function]
 int main()
     ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
4-5 有几个鞍点
比赛
2021(四) 作业第三场:热身赛
语言
C
递交时间
2021-11-14 20:40:26
评测时间
2021-11-14 20:40:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes