记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:16: error: 'a\U0000ff0cx2' undeclared (first use in this function)
    5 |         int x1=a,x2=a;int t;
      |                ^~~~~
foo.c:5:16: note: each undeclared identifier is reported only once for each function it appears in
foo.c:5:22: error: 'a\U0000ff1bint' undeclared (first use in this function)
    5 |         int x1=a,x2=a;int t;
      |                      ^~~~~~
foo.c:5:29: error: expected ',' or ';' before 't'
    5 |         int x1=a,x2=a;int t;
      |                             ^
foo.c:7:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    7 |         scanf("%d%d",&x1,&x2);
      |         ^~~~~
foo.c:7:27: error: 'x2' undeclared (first use in this function); did you mean 'x1'?
    7 |         scanf("%d%d",&x1,&x2);
      |                           ^~
      |                           x1
foo.c:8:9: error: 'max' undeclared (first use in this function)
    8 |         max=x1*x2;
      |         ^~~
foo.c:9:9: error: 'while\U0000ff08t' undeclared (first use in this function)
    9 |         while(t=x1%x2)
      |         ^~~~~~~~
foo.c:9:21: error: 'x2\U0000ff09' undeclared (first use in this function)
    9 |         while(t=x1%x2)
      |                     ^~~~
foo.c:9:25: error: expected ';' before '{' token
    9 |         while(t=x1%x2)
      |                         ^
      |                         ;
   10 |         {
      |         ~                
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1079 xf1-2最大公倍数与最小公因数
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 10:33:22
评测时间
2022-08-27 10:33:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes