#include <iostream>
#include <tuple>
#include <map>
#include <list>
int main() {
std::map<std::tuple<int,int,int,int>,std::array<char,3>> mp;
mp.insert({{1,0,0,0},{'a','b','c'}});
mp.insert({{1,1,0,0},{'d','e','f'}});
for(auto itr = mp.begin(); itr!= mp.end(); ++itr){
auto t = itr->first;
std::cout << std::get<0>( t ) << std::get<1>( t ) << std::get<2>( t ) << std::get<3>( t )<< '\n';
}
}