/in/foo.cc: In function 'void solve(std::__cxx11::string, std::map<std::__cxx11::basic_string<char>, long long int>&, std::vector<std::__cxx11::basic_string<char> >&, long long int)':
/in/foo.cc:19:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long i=0;i<list.size();i++)
~^~~~~~~~~~~~
/in/foo.cc:29:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
else if(index+list[i].length()==str.length())
^
/in/foo.cc:18:12: warning: unused variable 'current_sum' [-Wunused-variable]
long long current_sum=0;
^~~~~~~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:39:5: warning: first argument of 'int main(long long int, char**)' should be 'int' [-Wmain]
int main(long long argc, char** argv) {
^~~~