#include <map>
#include <iostream>
static std::map<int, const char*> staticMap;
const char *dummy = (
staticMap[0]="a",
staticMap[1]="b",
staticMap[2]="c",
staticMap[3]="d",
staticMap[4]="e");
int main() {
std::cout << "# Items: " << staticMap.size() << '\n' << std::endl;
std::cout << "Map Contents:" << std::endl;;
for (unsigned i = 0; i < 5; ++i) {
std::cout << "\t" << staticMap[i] << std::endl;
}
return 0;
}
I2luY2x1ZGUgPG1hcD4KI2luY2x1ZGUgPGlvc3RyZWFtPgoKc3RhdGljIHN0ZDo6bWFwPGludCwgY29uc3QgY2hhcio+IHN0YXRpY01hcDsKCmNvbnN0IGNoYXIgKmR1bW15ID0gKAogICAgc3RhdGljTWFwWzBdPSJhIiwKICAgIHN0YXRpY01hcFsxXT0iYiIsCiAgICBzdGF0aWNNYXBbMl09ImMiLAogICAgc3RhdGljTWFwWzNdPSJkIiwKICAgIHN0YXRpY01hcFs0XT0iZSIpOwoKaW50IG1haW4oKSB7CiAgICBzdGQ6OmNvdXQgPDwgIiMgSXRlbXM6ICIgPDwgc3RhdGljTWFwLnNpemUoKSA8PCAnXG4nIDw8IHN0ZDo6ZW5kbDsKICAgIHN0ZDo6Y291dCA8PCAiTWFwIENvbnRlbnRzOiIgPDwgc3RkOjplbmRsOzsKICAgIGZvciAodW5zaWduZWQgaSA9IDA7IGkgPCA1OyArK2kpIHsKICAgICAgc3RkOjpjb3V0IDw8ICJcdCIgPDwgc3RhdGljTWFwW2ldIDw8IHN0ZDo6ZW5kbDsKICAgIH0KCiAgICByZXR1cm4gMDsKfQ==