fork download
  1. #include <iostream>
  2. #include <cctype>
  3.  
  4. int main(int, char*[])
  5. {
  6. static const int N = 13;
  7.  
  8. std::string s = "await/co-routines (feat. Gor Nishanov)";
  9.  
  10. for (auto& c : s)
  11. {
  12. if (std::isalpha(c))
  13. {
  14. char a = std::islower(c) ? 'a' : 'A';
  15. c = (c - a + N) % ('z' - 'a' + 1) + a;
  16. }
  17. }
  18.  
  19. std::cout << s << std::endl;
  20. }
  21.  
Success #stdin #stdout 0s 3228KB
stdin
Standard input is empty
stdout
njnvg/pb-ebhgvarf (srng. Tbe Avfunabi)