foo.c: In function 'main':
foo.c:7:2: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets(s);
^~~~
foo.c:10:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d\n",m);
^~~~~~
foo.c:10:2: warning: incompatible implicit declaration of built-in function 'printf'
foo.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
/tmp/ccCvUDqN.o: In function `main':
foo.c:(.text.startup+0x2b): warning: the `gets' function is dangerous and should not be used.
[Hydro](https://hydro.ac)提供评测服务