foo.cc: In function 'int main()':
foo.cc:52:26: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | used[c] = 0;
| ^
foo.cc:70:29: warning: array subscript has type 'char' [-Wchar-subscripts]
70 | if (used[s[0]])
| ~~~^
foo.cc:77:25: warning: array subscript has type 'char' [-Wchar-subscripts]
77 | used[s[0]] = 1;
| ~~~^
foo.cc:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
foo.cc:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d", &l);
| ~~~~~^~~~~~~~~~
foo.cc:18:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | scanf("%s", lhz);
| ~~~~~^~~~~~~~~~~
foo.cc:31:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
31 | scanf("%s", s);
| ~~~~~^~~~~~~~~
foo.cc:36:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | scanf("%s", s);
| ~~~~~^~~~~~~~~
foo.cc:37:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
37 | scanf("%s", s);
| ~~~~~^~~~~~~~~
foo.cc:38:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
38 | scanf("%s", s);
| ~~~~~^~~~~~~~~
foo.cc:69:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
69 | scanf("%s", s);
| ~~~~~^~~~~~~~~
foo.cc:73:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
73 | scanf("%s", s);
| ~~~~~^~~~~~~~~
foo.cc:74:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
74 | scanf("%s", s);
| ~~~~~^~~~~~~~~
foo.cc:79:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
79 | scanf("%s", s1);
| ~~~~~^~~~~~~~~~
foo.cc:80:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
80 | scanf("%s", s2);
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务