#include <iostream>
#include <map>
int main ()
{
std::map<std::string, std::array<float, 3>> mp {
{"ab", {34, 567, 9727}},
{"cd", {2, 46, 999}},
{"xy", {1, 8, 3}}
};
std::cout << mp["ab"][0] << " " << mp["cd"][1] << " " << mp["xy"][2] << '\n';
return 0;
}
/*
run:
34 46 3
*/