Compiler output
prog.cpp: In function 'int main()':
prog.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int l = 0; l < a[i].s.length();l++)
^
prog.cpp:30:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int l = 0; l < a[i].s.length(); l++)
^
prog.cpp:43:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0 ; j < a[i].s.length(); j++)
^
prog.cpp:49:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(u && (a[i].s.length() > ans))
^