Skip to content

Commit 00deab2

Browse files
authored
Update main.cpp
1 parent d5ea3bb commit 00deab2

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

0000.test_project/main.cpp

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
#include <algorithm>
55
#include <string>
66
#include <chrono>
7-
#include "Tree_to_String.h"
8-
#include "show.h"
97
#include <bits/stdc++.h>
8+
#include "show.h"
9+
#include "Tree_to_String.h"
10+
//#include "union_find.h"
11+
//#include "quick_pow.h"
12+
//#include "matrix_quick_pow.h"
13+
//#include "trie.h"
14+
//#include <random>
1015
//#include <stdexcept>
1116
//#include <list>
1217
//#include <iomanip>
@@ -29,24 +34,24 @@
2934
//#include <numeric>
3035
/*---------------------------------------*/
3136
using namespace std;
37+
typedef pair<int,int> pii;
38+
typedef long long ll;
3239
/*---------------------------------------*/
3340

3441
/*---------------------------------------*/
3542
int main()
3643
{
37-
using namespace std::chrono;
38-
steady_clock::time_point t_begin = steady_clock::now();
39-
/*---------------------------------------*/
44+
using namespace std::chrono;
45+
steady_clock::time_point t_begin = steady_clock::now();
46+
/*---------------------------------------*/
4047

41-
42-
43-
/*---------------------------------------*/
44-
steady_clock::time_point t_end = steady_clock::now();
45-
duration<double> time_span = duration_cast<duration<double>>(t_end - t_begin);
46-
cout << endl
47-
<< "---------------------------------------" << endl;
48-
cout << "It takes " << time_span.count() * 1000 << " ms.";
49-
return 0;
48+
/*---------------------------------------*/
49+
steady_clock::time_point t_end = steady_clock::now();
50+
duration<double> time_span = duration_cast<duration<double>>(t_end - t_begin);
51+
cout << endl
52+
<< "---------------------------------------" << endl;
53+
cout << "It takes " << time_span.count() * 1000 << " ms.";
54+
return 0;
5055
}
5156
/*---------------------------------------*/
5257

0 commit comments

Comments
 (0)