/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:4:6: error: array size missing in 'S'
  int S[],i=0,j=0;k;
      ^
/in/foo.c:4:18: error: 'k' undeclared (first use in this function)
  int S[],i=0,j=0;k;
                  ^
/in/foo.c:4:18: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:11:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(A[j]=S[i])
  ^~
/in/foo.c:12:3: error: 'K' undeclared (first use in this function)
   K=i+1-j;
   ^
/in/foo.c:7:11: warning: unused variable 't' [-Wunused-variable]
  int A[5],t;
           ^

信息

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