fork download
  1. #include <stdio.h>
  2.  
  3. static void print_encoded(unsigned long long x)
  4. {
  5. char buffer[16];
  6. char *ptr = buffer + sizeof(buffer);
  7.  
  8. *--ptr = '\0';
  9.  
  10. while (x) {
  11. *--ptr = x % 100;
  12. x /= 100;
  13. }
  14.  
  15. puts(ptr);
  16. }
  17.  
  18.  
  19. int main(void)
  20. {
  21. print_encoded(69886577807669);
  22. print_encoded(3283727384);
  23. }
  24.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
EXAMPLE
 SHIT