|
4 | 4 | #include <algorithm>
|
5 | 5 | #include <string>
|
6 | 6 | #include <chrono>
|
7 |
| -#include "Tree_to_String.h" |
8 |
| -#include "show.h" |
9 | 7 | #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> |
10 | 15 | //#include <stdexcept>
|
11 | 16 | //#include <list>
|
12 | 17 | //#include <iomanip>
|
|
29 | 34 | //#include <numeric>
|
30 | 35 | /*---------------------------------------*/
|
31 | 36 | using namespace std;
|
| 37 | +typedef pair<int,int> pii; |
| 38 | +typedef long long ll; |
32 | 39 | /*---------------------------------------*/
|
33 | 40 |
|
34 | 41 | /*---------------------------------------*/
|
35 | 42 | int main()
|
36 | 43 | {
|
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 | + /*---------------------------------------*/ |
40 | 47 |
|
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; |
50 | 55 | }
|
51 | 56 | /*---------------------------------------*/
|
52 | 57 |
|
|
0 commit comments