记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:32:14: warning: passing argument 2 of 'rotate' makes integer from pointer without a cast [-Wint-conversion]
     rotate(a,b,4);
              ^
/in/foo.c:11:6: note: expected 'int' but argument is of type 'int (*)[10]'
 void rotate(int a[][N],int n)
      ^~~~~~
/in/foo.c:32:5: error: too many arguments to function 'rotate'
     rotate(a,b,4);
     ^~~~~~
/in/foo.c:11:6: note: declared here
 void rotate(int a[][N],int n)
      ^~~~~~
/in/foo.c: In function 'equal':
/in/foo.c:10:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
3-1 改错题
语言
C
递交时间
2018-12-31 21:54:56
评测时间
2018-12-31 21:54:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes