lozinke.cpp: In function 'int main()':
lozinke.cpp:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int j = 0; j < a[i].size(); j++){
| ~~^~~~~~~~~~~~~
lozinke.cpp:13:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int k = j; k < a[i].size(); k++){
| ~~^~~~~~~~~~~~~
lozinke.cpp:21:19: error: conversion from 'std::pair<const std::__cxx11::basic_string<char>, int>' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
21 | for(string ss : mp) ans += mp[ss]++;
| ^~