记录详情

Compile Error

/in/foo.c:32:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
/in/foo.c: In function 'main':
/in/foo.c:34:12: error: expected expression before 'char'
    encrypt(char a,char b);
            ^~~~
/in/foo.c:34:4: error: too few arguments to function 'encrypt'
    encrypt(char a,char b);
    ^~~~~~~
/in/foo.c:20:6: note: declared here
 void encrypt(char a[],char b[])
      ^~~~~~~
/in/foo.c:33:16: warning: unused variable 'a' [-Wunused-variable]
 {  static char a[30]="No.1",b[100];
                ^
At top level:
/in/foo.c:33:16: warning: 'a' defined but not used [-Wunused-variable]

信息

递交者
类型
递交
题目
2-1 改错题
语言
C
递交时间
2019-03-09 13:06:17
评测时间
2019-03-09 13:06:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes