fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. int main(void) {
  5. // your code goes here
  6. uint64_t x = (1ULL << 45) + 4095;
  7. uint32_t y = 4094;
  8. uint64_t diff = x - y;
  9. printf("%lu", diff);
  10. printf("\n%lu", x);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
35184372088833
35184372092927