answer.code: In function ‘void upit(std::vector<std::__cxx11::basic_string<char> >)’:
answer.code:27:16: error: ‘koliko’ was not declared in this scope
27 | cin >> koliko;
| ^~~~~~
answer.code: In function ‘int main()’:
answer.code:91:25: error: ‘t’ was not declared in this scope
91 | t=0;
| ^
answer.code:93:54: error: ‘tr’ was not declared in this scope; did you mean ‘t’?
93 | if(v[i][t]==v[j][t]) tr++;
| ^~
| t
answer.code:95:26: error: no match for ‘operator[]’ (operand types are ‘std::map<std::pair<std::__cxx11::basic_string<char>, int>, int>’ and ‘<brace-enclosed initializer list>’)
95 | m[{v[i],t}]++;
| ^
In file included from /usr/include/c++/11/map:61,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:81,
from answer.code:1:
/usr/include/c++/11/bits/stl_map.h:492:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<std::__cxx11::basic_string<char>, int>; _Tp = int; _Compare = std::less<std::pair<std::__cxx11::basic_string<char>, int> >; _Alloc = std::allocator<std::pair<const std::pair<std::__cxx11::basic_string<char>, int>, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<std::__cxx11::basic_string<char>, int>]’
492 | operator[](const key_type& __k)
| ^~~~~~~~
/usr/include/c++/11/bits/stl_map.h:492:34: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const key_type&’ {aka ‘const std::pair<std::__cxx11::basic_string<char>, int>&’}
492 | operator[](const key_type& __k)
| ~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_map.h:512:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = std::pair<std::__cxx11::basic_string<char>, int>; _Tp = int; _Compare = std::less<std::pair<std::__cxx11::basic_string<char>, int> >; _Alloc = std::allocator<std::pair<const std::pair<std::__cxx11::basic_string<char>, int>, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<std::__cxx11::basic_string<char>, int>]’
512 | operator[](key_type&& __k)
| ^~~~~~~~
/usr/include/c++/11/bits/stl_map.h:512:29: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::map<std::pair<std::__cxx11::basic_string<char>, int>, int>::key_type&&’ {aka ‘std::pair<std::__cxx11::basic_string<char>, int>&&’}
512 | operator[](key_type&& __k)
| ~~~~~~~~~~~^~~
answer.code:96:26: error: no match for ‘operator[]’ (operand types are ‘std::map<std::pair<std::__cxx11::basic_string<char>, int>, int>’ and ‘<brace-enclosed initializer list>’)
96 | m[{v[j],t}]++;
| ^
In file included from /usr/include/c++/11/map:61,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:81,
from answer.code:1:
/usr/include/c++/11/bits/stl_map.h:492:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<std::__cxx11::basic_string<char>, int>; _Tp = int; _Compare = std::less<std::pair<std::__cxx11::basic_string<char>, int> >; _Alloc = std::allocator<std::pair<const std::pair<std::__cxx11::basic_string<char>, int>, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<std::__cxx11::basic_string<char>, int>]’
492 | operator[](const key_type& __k)
| ^~~~~~~~
/usr/include/c++/11/bits/stl_map.h:492:34: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const key_type&’ {aka ‘const std::pair<std::__cxx11::basic_string<char>, int>&’}
492 | operator[](const key_type& __k)
| ~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_map.h:512:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = std::pair<std::__cxx11::basic_string<char>, int>; _Tp = int; _Compare = std::less<std::pair<std::__cxx11::basic_string<char>, int> >; _Alloc = std::allocator<std::pair<const std::pair<std::__cxx11::basic_string<char>, int>, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int; std::map<_Key, _Tp, _Compare, _Alloc>:...