fork(22) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int n;
  5. char hex_val[50];
  6.  
  7. n = atoi("100663296");
  8. sprintf(hex_val, "%x", n);
  9.  
  10. printf("%s", hex_val);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5428KB
stdin
1
2
10
42
11
stdout
6000000