dna.cpp: In function 'int32_t main()':
dna.cpp:34:28: warning: comparison of integer expressions of different signedness: 'std::map<long long int, long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
34 | while(r<n && (mp.size()<k || cnt<req.size()) )
| ~~~~~~~~~^~
dna.cpp:34:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::map<long long int, long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | while(r<n && (mp.size()<k || cnt<req.size()) )
| ~~~^~~~~~~~~~~
dna.cpp:40:11: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::map<long long int, long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if(cnt==req.size() && mp.size()>=k)
| ~~~^~~~~~~~~~~~
dna.cpp:40:36: warning: comparison of integer expressions of different signedness: 'std::map<long long int, long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
40 | if(cnt==req.size() && mp.size()>=k)
| ~~~~~~~~~^~~
dna.cpp:23:7: warning: variable 'flg' set but not used [-Wunused-but-set-variable]
23 | int flg=0;
| ^~~