记录详情

Compile Error

/in/foo.c: In function 'dg':
/in/foo.c:19:33: error: 'cc' undeclared (first use in this function)
      dg(count+1,n,m,k,sum,len+i,cc);
                                 ^~
/in/foo.c:19:33: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:19:6: error: too many arguments to function 'dg'
      dg(count+1,n,m,k,sum,len+i,cc);
      ^~
/in/foo.c:3:6: note: declared here
 void dg(int count,int n,int m,int k,int sum[],int len)
      ^~
/in/foo.c: In function 'main':
/in/foo.c:34:31: error: 'cc' undeclared (first use in this function)
      dg(count,n,m,k,sum,len+i,cc);
                               ^~
/in/foo.c:34:6: error: too many arguments to function 'dg'
      dg(count,n,m,k,sum,len+i,cc);
      ^~
/in/foo.c:3:6: note: declared here
 void dg(int count,int n,int m,int k,int sum[],int len)
      ^~

信息

递交者
类型
递交
题目
2-8 条形码
语言
C
递交时间
2018-12-12 20:46:33
评测时间
2018-12-12 20:46:36
评测机
分数
0
总耗时
12ms
峰值内存
2.914 MiB