Files
contests/projecteuler/079/main.cpp

17 lines
491 B
C++

#include <bits/stdc++.h>
using namespace std;
int main(){
cout << "Hello this is Patrick" << endl;
auto start = chrono::high_resolution_clock::now();
// Insert code here
// Solved this one by just looking at the text file for 5 minutes, seeing which numbers come before others
auto duration = chrono::duration_cast<chrono::milliseconds>(chrono::high_resolution_clock::now() - start);
cout << (float)duration.count()/1000 << endl;
return 0;
}