foo.c: In function 'gys':
foo.c:5:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
5 | if(x=y)
| ^
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)提供评测服务