foo.cc: In function 'void mcl1(std::string, std::string)':
foo.cc:12:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
12 | memset(a,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:13:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
13 | memset(b,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:14:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
14 | memset(c,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc: In function 'void mcl2(std::string, std::string)':
foo.cc:64:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
64 | memset(a,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:65:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
65 | memset(b,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:66:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
66 | memset(c,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc: In function 'std::string mcl(std::string, std::string)':
foo.cc:116:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
116 | memset(a,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:117:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
117 | memset(b,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:118:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
118 | memset(c,0,100005);
| ~~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务