fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main(){
  4. ios::sync_with_stdio(false);
  5. cin.tie(nullptr);
  6. unordered_map<string,string> chu = {
  7. {R"(/\)", "A"},
  8. {"|))", "B"},
  9. {"(", "C"},
  10. {"|)", "D"},
  11. {"3", "E"},
  12. {"|=", "F"},
  13. {"6", "G"},
  14. {"|-|", "H"},
  15. {"!", "I"},
  16. {"_|", "J"},
  17. {"|<", "K"},
  18. {"|_", "L"},
  19. {R"(/\\/\\)", "M"},
  20. {R"(|\|)", "N"},
  21. {"0", "O"},
  22. {"|*", "P"},
  23. {"0_", "Q"},
  24. {"|2", "R"},
  25. {"$", "S"},
  26. {"7", "T"},
  27. {"(_)", "U"},
  28. {R"(\/)", "V"},
  29. {R"(\/\/)", "W"},
  30. {"><", "X"},
  31. {"`/", "Y"},
  32. {"2", "Z"}
  33. };
  34. string s;
  35. string kq = "";
  36. while (cin >> s){
  37. kq += chu[s];
  38. }
  39. cout << kq;
  40. }
  41.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Standard output is empty