fork download
  1. #include <iostream>
  2. #include <chrono>
  3. using namespace std;
  4.  
  5. int main() {
  6. int64_t t = chrono::high_resolution_clock::now().time_since_epoch().count();
  7. cout << t << endl << (int64_t)(double)t << endl;
  8.  
  9. return 0;
  10. }
Success #stdin #stdout 0s 4464KB
stdin
Standard input is empty
stdout
1526960856973583539
1526960856973583616