fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. unsigned long long h[] = {
  5. 0x202C6F6C6C6548ULL,
  6. 0x000021646C726FULL
  7. };
  8.  
  9. for (int i = 0; i < 2; ++i) {
  10. for (int j = 0; j < 8; ++j) {
  11. char c = (h[i] >> (j * 8)) & 0xFF;
  12. if (c == '\0') break;
  13. std::cout << c;
  14. }
  15. }
  16. std::cout << std::endl;
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
Hello, orld!