记录详情

Compile Error

foo.c: In function 'main':
foo.c:16:12: warning: statement with no effect [-Wunused-value]
        a[i][j]
        ~~~~^~~
foo.c:17:6: error: expected ';' before '}' token
      }
      ^
foo.c:9:6: warning: unused variable 'cnt' [-Wunused-variable]
  int cnt=0;
      ^~~
foo.c:4:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  int n,m;scanf("%d%d",&n,&m);//n行m列 
          ^~~~~~~~~~~~~~~~~~~
foo.c:8:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&a[i][j]);
    ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1298 E. Maze
比赛
南京师范大学2021年11月程序设计竞赛
语言
C
递交时间
2021-11-21 14:48:10
评测时间
2021-11-21 14:48:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes