fork download
  1. #include <iostream>
  2. #include <netinet/in.h>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. auto i = ntohl(0x9b000000);
  8. // cout << i << endl;
  9.  
  10. // i = ntohl(0x97000000);
  11. // cout << i << endl;
  12.  
  13. // i = ntohl(0x95000000);
  14. // cout << i << endl;
  15.  
  16. // i = ntohl(0x93000000);
  17. // cout << i << endl;
  18.  
  19. // i = ntohl(0x8d000000);
  20. // cout << i << endl;
  21.  
  22. // i = ntohl(0x67000000);
  23. // cout << i << endl;
  24.  
  25. // i = ntohl(0x41000007);
  26. // cout << i << endl;
  27.  
  28. // i = ntohl(0x0000005f);
  29. // cout << i << endl;
  30.  
  31. i = htons(9126);
  32. cout << i << endl;
  33.  
  34. return 0;
  35. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
42531