-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.cpp
52 lines (45 loc) · 1.31 KB
/
demo.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
41
42
43
44
45
46
47
48
49
50
51
52
#include "./recursion_utilities.cpp"
using namespace std;
int main()
{
vector<vector<string>> v = {{"aa", "awa", "qaa", "aar"}, {"aa", "qaa", "aar"}, {"rtaa", "aawrawwa", "agqaa", "aahgear"}};
vector<list<string>> vv = {{"aa", "awa", "qaa", "aar"}, {"aa", "qaa", "aar"}, {"rtaa", "aawrawwa", "agqaa", "aahgear"}};
list<vector<int>> l = {{1, 2}, {3, 4, 5, 6}, {1, 2, 3, 4, 5, 6, 3, 4, 5, 6}, {3, 4, 5, 6}};
list<int> s = {1, 2, 3, 4, 5, 6};
map<int, list<vector<int>>> m = {{1, {{4, 4, 5, 6}, {6, 6}}}, {3, {{1, 4, 5}, {3, 5, 6}}}, {5, {{3, 4}, {5, 6}}}};
_w(v,vv,l,s,m);
_w("string",'g',44,2342345,vv);
}
/*
[
0[aa, awa, qaa, aar]4 ,
1[aa, qaa, aar]3 ,
2[rtaa, aawrawwa, agqaa, aahgear]4
]3
[
0[_ aa _ awa _ qaa _ aar _]4 ,
1[_ aa _ qaa _ aar _]3 ,
2[_ rtaa _ aawrawwa _ agqaa _ aahgear _]4
]3
[_
0[1, 2]2 _
1[3, 4, 5, 6]4 _
2[1, 2, 3, 4, 5, 6, 3, 4, 5, 6]10 _
3[3, 4, 5, 6]4
_]4
[
1 : [_
0[4, 4, 5, 6]4 _
1[6, 6]2
_]2 ,
3 : [_
0[1, 4, 5]3 _
1[3, 5, 6]3
_]2 ,
5 : [_
0[3, 4]2 _
1[5, 6]2
_]2
]3
[_ 1 _ 2 _ 3 _ 4 _ 5 _ 6 _]6
*/