记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:6: error: redefinition of 'c'
  int c=a;
      ^
/in/foo.c:3:14: note: previous definition of 'c' was here
  int a=0,b=0,c=0;
              ^
/in/foo.c:13:18: error: expected ';' before ':' token
   for(int m=0;m<i:m++){
                  ^
/in/foo.c:18:2: error: expected ';' before '}' token
  }
  ^
/in/foo.c:20:8: error: subscripted value is neither array nor pointer nor vector
   c=c+a[i];
        ^
/in/foo.c:10:6: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  int n[b];
      ^

信息

递交者
类型
自测
题目
A4-1 回文数专题:数字之和
语言
C
递交时间
2023-09-23 21:00:15
评测时间
2023-09-23 21:01:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes