fork(3) download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. double val_d= 6.25e-05;
  8. cout << (1/val_d) << endl;
  9. unsigned int val_ui = (unsigned int ) (1/val_d);
  10. cout << val_ui << endl;
  11. }
Success #stdin #stdout 0.01s 2724KB
stdin
Standard input is empty
stdout
16000
16000