记录详情

Compile Error

foo.c: In function 'main':
foo.c:7:16: warning: missing terminating " character
    7 |         printf("Y1=%d,X1+X2);
      |                ^
foo.c:7:16: error: missing terminating " character
    7 |         printf("Y1=%d,X1+X2);
      |                ^~~~~~~~~~~~~~
foo.c:8:12: warning: missing terminating " character
    8 |     printf("Y2=%d,X1/X2);
      |            ^
foo.c:8:12: error: missing terminating " character
    8 |     printf("Y2=%d,X1/X2);
      |            ^~~~~~~~~~~~~~
foo.c:9:12: warning: missing terminating " character
    9 |     printf("Y3=%d,X1%X2);
      |            ^
foo.c:9:12: error: missing terminating " character
    9 |     printf("Y3=%d,X1%X2);
      |            ^~~~~~~~~~~~~~
foo.c:11:5: error: expected expression before 'return'
   11 |     return 0
      |     ^~~~~~
foo.c:11:5: error: expected declaration or statement at end of input
foo.c:6:13: warning: unused variable 'X2' [-Wunused-variable]
    6 |         int X2=6;
      |             ^~
foo.c:5:9: warning: unused variable 'X1' [-Wunused-variable]
    5 |     int X1=5;
      |         ^~
[Hydro](https://hydro.ac)提供评测服务

信息

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