password.cpp: In function 'long long int bs(char, std::string, long long int)':
password.cpp:29:10: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if(ln!=(s2.length())){
| ~~^~~~~~~~~~~~~~~
password.cpp:41:10: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if(ln!=(s2.length())){m--;}
| ~~^~~~~~~~~~~~~~~
password.cpp: In function 'void get_cnt(long long int, long long int)':
password.cpp:58:13: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | cnt[c1]=ln;
| ^~
password.cpp: In function 'std::string guess(long long int, long long int)':
password.cpp:69:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
69 | while( (suf.length())<n ){
| ~~~~~~~~~~~~~~^~
password.cpp:72:16: warning: array subscript has type 'char' [-Wchar-subscripts]
72 | if(cnt[c1]==0){continue;}
| ^~
password.cpp:74:20: warning: array subscript has type 'char' [-Wchar-subscripts]
74 | if(cnt[c2]==0){
| ^~
password.cpp:87:40: warning: array subscript has type 'char' [-Wchar-subscripts]
87 | suf="a"+suf; suf[0]+=(mc-'a'); cnt[mc]--;
| ^~
/tmp/cc2gfig1.o: In function `main':
grader.cpp:(.text.startup+0x5f): undefined reference to `guess[abi:cxx11](int, int)'
collect2: error: ld returned 1 exit status