fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main(void) {
  5. int key = 65535;
  6. float a = 1.2;
  7. int b = (int)a;
  8. printf("%d\n", b);
  9. //int localKey = (int)pow(2.0 ,(int)log2((double)key)+1);
  10. //printf("%d\n", localKey);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 4504KB
stdin
Standard input is empty
stdout
1