fork download
  1. #include <iostream>
  2. #include <map>
  3. using namespace std;
  4.  
  5. int main() {
  6. map<int, char> cipher;
  7.  
  8. for (int i = 0; i < 26; i++)
  9. {
  10. cipher.emplace(i, char(97 + i));
  11. }
  12. std::cout << cipher[0] << std::endl;
  13. // your code goes here
  14. return 0;
  15. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
a