fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long x = 185961124176;
  6. double y = (double)x;
  7. cout << x << endl << y << endl << (long long)y << endl << (unsigned int)x << endl;
  8. // your code goes here
  9. return 0;
  10. }
Success #stdin #stdout 0s 15224KB
stdin
Standard input is empty
stdout
185961124176
1.85961e+11
185961124176
1277530448