foo.cc: In function 'std::string mcl(std::string, std::string)':
foo.cc:13:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
13 | memset(a,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(b,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:15:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
15 | memset(c,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc: In function 'std::string add(std::string, std::string)':
foo.cc:67:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
67 | memset(a,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:68:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
68 | memset(b,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc:69:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
69 | memset(c,0,100005);
| ~~~~~~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:155:13: warning: unused variable 'u' [-Wunused-variable]
155 | int u=0;
| ^
[Hydro](https://hydro.ac)提供评测服务