foo.c: In function 'judgement':
foo.c:33:17: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
33 | else if(abs(small1-small2)==2&&small1>small2&&small2>=type-1)
| ^~~
foo.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
2 | #include<math.h>
+++ |+#include <stdlib.h>
3 | char score[100];
foo.c: In function 'main':
foo.c:57:43: warning: comparison between pointer and integer
57 | if(score[p]=='W'||score[p]=="L")
| ^~
foo.c:57:43: warning: comparison with string literal results in unspecified behavior [-Waddress]
[Hydro](https://hydro.ac)提供评测服务