foo.c: In function 'charge':
foo.c:34:15: warning: 'return' with a value, in function returning void [-Wreturn-type]
34 | return("Yes\n");
| ^
foo.c:30:6: note: declared here
30 | void charge(int x,int y)
| ^~~~~~
foo.c:38:15: warning: 'return' with a value, in function returning void [-Wreturn-type]
38 | return("No\n");
| ^
foo.c:30:6: note: declared here
30 | void charge(int x,int y)
| ^~~~~~
foo.c: In function 'init':
foo.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
11 | }
| ^
foo.c: In function 'main':
foo.c:45:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
45 | scanf("%d %d %d",&n,&m,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:49:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d %d",&u,&v);
| ^~~~~~~~~~~~~~~~~~~~
foo.c:55:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
55 | scanf("%d %d",&h,&l);
| ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务