input/code.cpp: In function 'int main()':
input/code.cpp:20:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); i++) {
~~^~~~~~~~~~
input/code.cpp:24:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < m.size(); i++) {
~~^~~~~~~~~~
input/code.cpp:26:14: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<std::vector<int>, int> > >::value_type {aka struct std::pair<std::vector<int>, int>}' has no member named 'push_back'
else m[i].push_back({z, 1});
^~~~~~~~~
input/code.cpp:29:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < m.size(); i++) {
~~^~~~~~~~~~
input/code.cpp:31:12: error: no match for 'operator-' (operand types are 'std::vector<std::pair<std::vector<int>, int> >' and 'int')
c += m*(m-1)/2;
~^~...