trener.cpp: In function 'tri hsh(std::__cxx11::string)':
trener.cpp:42:41: error: narrowing conversion of '1.0000007e+7' from 'double' to 'long long int' inside { } [-Wnarrowing]
long long mod[3]= {1e7+7,1e9+7,1e9+9};
^
trener.cpp:42:41: error: narrowing conversion of '1.000000007e+9' from 'double' to 'long long int' inside { } [-Wnarrowing]
trener.cpp:42:41: error: narrowing conversion of '1.000000009e+9' from 'double' to 'long long int' inside { } [-Wnarrowing]
trener.cpp:44:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<s.size(); i++)
~^~~~~~~~~
trener.cpp:53:17: warning: narrowing conversion of 'h1[0]' from 'long long int' to 'int' inside { } [-Wnarrowing]
return {h1[0],h1[1],h1[2]};
~~~~^
trener.cpp:53:23: warning: narrowing conversion of 'h1[1]' from 'long long int' to 'int' inside { } [-Wnarrowing]
return {h1[0],h1[1],h1[2]};
~~~~^
trener.cpp:53:29: warning: narrowing conversion of 'h1[2]' from 'long long int' to 'int' inside { } [-Wnarrowing]
return {h1[0],h1[1],h1[2]};
~~~~^