/ Vijos /

记录详情

Compile Error

foo.c: In function 'gys':
foo.c:8:16: error: stray '\357' in program
    8 |     {temp=x;x=y;y=temp;}
      |                ^
foo.c:8:17: error: stray '\274' in program
    8 |     {temp=x;x=y;y=temp;}
      |                 ^
foo.c:8:18: error: stray '\233' in program
    8 |     {temp=x;x=y;y=temp;}
      |                  ^
foo.c:8:16: error: expected ';' before 'y'
    8 |     {temp=x;x=y;y=temp;}
      |                ^  ~
      |                ;
foo.c:4:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
    4 |     int temp,rest=1;
      |         ^~~~
foo.c: In function 'main':
foo.c:22:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   22 |     scanf("%d",&num);
      |     ^~~~~~~~~~~~~~~~
foo.c:24:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   24 |     scanf("%d%d%d%d",&a0,&a1,&b0,&b1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1753 HankSon的趣味题
语言
C
递交时间
2022-01-25 18:34:45
评测时间
2022-01-25 18:34:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes