#include <chrono>#include <iostream> int main() {auto t = std::chrono::high_resolution_clock::now();std::cout << std::chrono::duration_cast<std::chrono::milliseconds>(t).count();}
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:6:69: error: no matching function for call to 'duration_cast(std::chrono::time_point<std::chrono::system_clock, std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> > >&)'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!