foo.c: In function 'main':
foo.c:8:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
8 | while (gets(s1) != NULL&& gets(s2) != NULL) {
| ^~~~~
In file included from foo.c:1:
/nix/store/rffag931pvbdiabwwa539wnwg1piqpx0-glibc-2.35-163-dev/include/stdio.h:605:14: note: declared here
605 | extern char *gets (char *__s) __wur __attribute_deprecated__;
| ^~~~
foo.c:8:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
8 | while (gets(s1) != NULL&& gets(s2) != NULL) {
| ^~~~~
In file included from foo.c:1:
/nix/store/rffag931pvbdiabwwa539wnwg1piqpx0-glibc-2.35-163-dev/include/stdio.h:605:14: note: declared here
605 | extern char *gets (char *__s) __wur __attribute_deprecated__;
| ^~~~
foo.c:7:18: warning: unused variable 's' [-Wunused-variable]
7 | int t=0, s=0;
| ^
foo.c:7:13: warning: unused variable 't' [-Wunused-variable]
7 | int t=0, s=0;
| ^
/nix/store/jfkmqz20q8fsaqizcml86adxqyzlwllx-binutils-2.38/bin/ld: /tmp/cc88Sx79.o: in function `main':
foo.c:(.text.startup+0x19): warning: the `gets' function is dangerous and should not be used.
/nix/store/jfkmqz20q8fsaqizcml86adxqyzlwllx-binutils-2.38/bin/ld: foo.c:(.text.startup+0x26): undefined reference to `Length'
/nix/store/jfkmqz20q8fsaqizcml86adxqyzlwllx-binutils-2.38/bin/ld: foo.c:(.text.startup+0x35): undefined reference to `Length'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务