fork download
  1. #include <iostream>
  2. #include <arpa/inet.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. uint32_t n = 17920;
  7. // your code goes here
  8. cout << ntohs(n) << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
70