记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:8: error: expected expression before '%' token
  scanf(%d%d%d%d,&a&b&c&d)
        ^
foo.c:6:5: error: expected ';' before 'printf'
     printf("%d",a+b+c+d);
     ^~~~~~
foo.c:6:16: error: stray '\357' in program
     printf("%d",a+b+c+d);
                ^
foo.c:6:17: error: stray '\274' in program
     printf("%d",a+b+c+d);
                 ^
foo.c:6:18: error: stray '\214' in program
     printf("%d",a+b+c+d);
                  ^
foo.c:7:2: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
  system("pause");
  ^~~~~~
foo.c:4:12: warning: unused variable 'd' [-Wunused-variable]
 {int a,b,c,d;
            ^
foo.c:4:10: warning: unused variable 'c' [-Wunused-variable]
 {int a,b,c,d;
          ^
foo.c:4:8: warning: unused variable 'b' [-Wunused-variable]
 {int a,b,c,d;
        ^
foo.c:4:6: warning: unused variable 'a' [-Wunused-variable]
 {int a,b,c,d;
      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A4-1 回文数专题:数字之和
语言
C
递交时间
2021-08-29 18:20:11
评测时间
2021-08-29 18:20:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes