记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:17: error: 'j' undeclared (first use in this function)
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                 ^
/in/foo.c:5:17: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:19: error: 'm' undeclared (first use in this function)
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                   ^
/in/foo.c:5:21: error: 'p' undeclared (first use in this function)
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                     ^
/in/foo.c:5:23: error: 'w' undeclared (first use in this function)
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                       ^
/in/foo.c:5:25: error: 'f' undeclared (first use in this function)
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                         ^
/in/foo.c:5:27: error: 'z' undeclared (first use in this function)
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                           ^
/in/foo.c:5:31: error: 'v' undeclared (first use in this function)
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                               ^
/in/foo.c:12:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
    b[i]=a;
        ^
/in/foo.c:14:8: error: 'o' undeclared (first use in this function)
  for(i=o;i<10;i++)
        ^
/in/foo.c:5:34: warning: variable 'b' set but not used [-Wunused-but-set-variable]
     char a[10]={j,m,p,w,f,z,p,v},b[10];
                                  ^

信息

递交者
类型
递交
比赛
2021年中北算法竞赛队招新测试
语言
C
递交时间
2021-10-24 13:36:44
评测时间
2021-10-24 13:36:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes