foo.cc: In function 'std::__cxx11::string repeat(std::__cxx11::string)':
foo.cc:8:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++){
~^~~~~~~~~
foo.cc:12:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<temp.size();i++){
~^~~~~~~~~~~~
foo.cc:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<temp.size();i++){
~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:40:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++){
~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务