toy.cpp: In function 'std::vector<long long int> solve(int, int)':
toy.cpp:15:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int j=0;j<tmp.size();j++){
| ~^~~~~~~~~~~
toy.cpp: In function 'int main()':
toy.cpp:32:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(i=1;i<s.size();i++){
| ~^~~~~~~~~
toy.cpp:37:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(i=1;i<s.size();i++){
| ~^~~~~~~~~
toy.cpp: In function 'std::vector<long long int> solve(int, int)':
toy.cpp:10:26: warning: control reaches end of non-void function [-Wreturn-type]
10 | vector <long long> ans,tmp;
| ^~~