/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:12:8: error: expected expression before '{' token
   C[5]={i+1-j};}
        ^
/in/foo.c:13:6: error: 'h' undeclared (first use in this function)
  for(h=0;h<=4;h++)
      ^
/in/foo.c:13:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:14:6: error: 'c' undeclared (first use in this function)
   if(c[h]>[h+1])
      ^
/in/foo.c:14:11: error: expected expression before '[' token
   if(c[h]>[h+1])
           ^
/in/foo.c:18:2: error: 'k' undeclared (first use in this function)
  k=c[0];
  ^
/in/foo.c:4:21: warning: variable 'C' set but not used [-Wunused-but-set-variable]
  int S[200],i=0,j=0,C[5],t;
                     ^

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C
递交时间
2024-11-23 09:58:14
评测时间
2024-11-23 09:58:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes