-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
40 lines (37 loc) · 1004 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <iomanip>
#include <chrono>
using std::chrono::high_resolution_clock;
using std::chrono::duration_cast;
using std::chrono::duration;
using std::chrono::milliseconds;
/*
#include "solution1_1.h"
#include "solution1_2.h"
#include "solution2_1.h"
#include "solution2_2.h"
#include "solution3_1.h"
#include "solution3_2.h"
#include "solution4_1.h"
#include "solution4_2.h"
#include "solution5_1.h"
#include "solution5_2.h"
#include "solution6_1.h"
#include "solution6_2.h"
#include "solution7_1.h"
#include "solution7_2.h"
#include "solution8_1.h"
#include "solution8_2.h"
#include "solution9_1.h"
#include "solution9_2.h"
#include "solution10_1.h"
#include "solution10_2.h"
*/
#include "solution10_1.h"
int main() {
auto t1 = high_resolution_clock::now();
solution();
auto t2 = high_resolution_clock::now();
duration<double, std::milli> ms_double = t2 - t1;
std::cout << "Execution time: " << std::fixed << std::setprecision(2) << ms_double.count() << "ms\n";
return 0;
}