PE 79, didn't need to write code for this one, just looked at the text file for a few minutes

This commit is contained in:
2022-05-02 16:16:38 +02:00
parent b797dd3f84
commit 679022c4cd
2 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
319
680
180
690
129
620
762
689
762
318
368
710
720
710
629
168
160
689
716
731
736
729
316
729
729
710
769
290
719
680
318
389
162
289
162
718
729
319
790
680
890
362
319
760
316
729
380
319
728
716

16
projecteuler/079/main.cpp Normal file
View File

@@ -0,0 +1,16 @@
#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;
}