#include <unordered_map> #include <iostream> int main() { std::unordered_map<int, int> a; a[5] = 3; a[2]++; std::cout << a[2] << std::endl; }