记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d %d",n,k);
          ^
/in/foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
  scanf("%d %d",n,k);
             ^
/in/foo.c:11:12: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    scanf("%d",a[i][j]);
            ^
/in/foo.c:26:1: error: expected declaration or statement at end of input
 }
 ^
/in/foo.c:4:17: warning: unused variable 'm' [-Wunused-variable]
     int i,j,n,k,m;
                 ^

信息

递交者
类型
递交
题目
P1202 最值问题
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C
递交时间
2020-12-09 16:10:47
评测时间
2020-12-09 16:10:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes