fork download
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. cout << (short)fmaxf(fminf(roundf(0.75f * 0x7FFF / 1.3f), 0x7FFF), -0x7FFF - 1) << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
18904