记录详情

Compile Error

/in/foo.c: In function 'insert':
/in/foo.c:31:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    s[k+1]=s[k];
            ^
/in/foo.c:32:4: warning: array subscript has type 'char' [-Wchar-subscripts]
   s[j]=',';
    ^
/in/foo.c: In function 'main':
/in/foo.c:42:2: error: too many arguments to function 'insert'
  insert(s,num);
  ^~~~~~
/in/foo.c:23:6: note: declared here
 void insert(char s[])
      ^~~~~~

信息

递交者
类型
递交
题目
9-1 改错题
语言
C
递交时间
2019-10-19 09:58:32
评测时间
2019-10-19 09:58:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes