记录详情

Compile Error

foo.c: In function 'main':
foo.c:7:13: error: expected ';' before 'c'
    7 |      a=3,b=5
      |             ^
      |             ;
    8 |      c=a+b
      |      ~       
foo.c:9:13: warning: missing terminating " character
    9 |      printf("%d\n,c);
      |             ^
foo.c:9:13: error: missing terminating " character
    9 |      printf("%d\n,c);
      |             ^~~~~~~~~
foo.c:11:13: warning: missing terminating " character
   11 |      ptintf("%d\n,d);
      |             ^
foo.c:11:13: error: missing terminating " character
   11 |      ptintf("%d\n,d);
      |             ^~~~~~~~~
foo.c:13:13: warning: missing terminating " character
   13 |      printf("%d\n,e);
      |             ^
foo.c:13:13: error: missing terminating " character
   13 |      printf("%d\n,e);
      |             ^~~~~~~~~
foo.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
foo.c:5:18: warning: unused variable 'e' [-Wunused-variable]
    5 |      int a,b,c,d,e;
      |                  ^
foo.c:5:16: warning: unused variable 'd' [-Wunused-variable]
    5 |      int a,b,c,d,e;
      |                ^
foo.c:5:14: warning: unused variable 'c' [-Wunused-variable]
    5 |      int a,b,c,d,e;
      |              ^
foo.c:5:12: warning: variable 'b' set but not used [-Wunused-but-set-variable]
    5 |      int a,b,c,d,e;
      |            ^
foo.c:5:10: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    5 |      int a,b,c,d,e;
      |          ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1078 xf1-1两数和、积、余
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 14:59:08
评测时间
2022-08-27 14:59:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes