fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. int main(void) {
  5. // your code goes here
  6. const int32_t max_20_bit = (1 << 19) - 1;
  7. const int32_t min_20_bit = -(1 << 19);
  8. printf("Max=%d, Min=%d\n", max_20_bit, min_20_bit);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
Max=524287, Min=-524288