museum.cpp: In function 'll CountSimilarPairs(std::vector<int>, std::vector<int>, std::vector<int>)':
museum.cpp:48:20: warning: unused variable 'key' [-Wunused-variable]
for (auto[key, val] : m)
^
museum.cpp:57:20: warning: unused variable 'key' [-Wunused-variable]
for (auto[key, val] : m)
^
museum.cpp:66:20: warning: unused variable 'key' [-Wunused-variable]
for (auto[key, val] : m)
^
museum.cpp:70:31: error: wrong number of template arguments (1, should be at least 2)
map<pair<int, pair<int, int>>> m2;
^
In file included from /usr/include/c++/7/map:61:0,
from museum.cpp:3:
/usr/include/c++/7/bits/stl_map.h:99:11: note: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
museum.cpp:72:30: error: invalid types 'int[<brace-enclosed initializer list>]' for array subscript
m2[{ B[i], { T[i], G[i] } }]++;
^
museum.cpp:75:20: warning: unused variable 'key' [-Wunused-variable]
for (auto[key, val] : m)
^