记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:13:11: warning: passing argument 1 of 'moveleft' from incompatible pointer type [-Wincompatible-pointer-types]
  moveleft(a,n);
           ^
/in/foo.c:3:6: note: expected 'long int *' but argument is of type 'int *'
 void moveleft(long int a[],long int n);
      ^~~~~~~~
/in/foo.c:14:9: warning: passing argument 1 of 'output' from incompatible pointer type [-Wincompatible-pointer-types]
  output(a,n);
         ^
/in/foo.c:4:6: note: expected 'long int *' but argument is of type 'int *'
 void output(long int a[],long int n);
      ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 184.0 KiB
#2 Runtime Error 1ms 204.0 KiB

信息

递交者
类型
递交
题目
1-3 序列循环左移
语言
C
递交时间
2018-11-30 23:58:15
评测时间
2018-11-30 23:58:15
评测机
分数
0
总耗时
3ms
峰值内存
204.0 KiB