记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:23: error: stray '\357' in program
     int x1,x2,y1,y2,y3;
                       ^
/in/foo.c:5:24: error: stray '\274' in program
     int x1,x2,y1,y2,y3;
                        ^
/in/foo.c:5:25: error: stray '\233' in program
     int x1,x2,y1,y2,y3;
                         ^
/in/foo.c:6:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
   scanf("%d %d" &x1 &x2);
   ^~~~~
/in/foo.c:9:23: error: 'y3' undeclared (first use in this function)
      printf("y3=%d\n",y3=x1%x2);
                       ^~
/in/foo.c:9:23: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:11:1: error: expected ';' before '}' token
 }
 ^

信息

递交者
类型
自测
题目
P1078 xf1-1两数和、积、余
语言
C
递交时间
2019-08-15 08:34:26
评测时间
2019-08-15 08:34:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes