-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
80 lines (70 loc) · 1.42 KB
/
main.cpp
File metadata and controls
80 lines (70 loc) · 1.42 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#include<iostream>
#include"Vector.h"
#include"Alloctor.h"
#include"Deque.h"
#include"Queue.h"
#include"Stack.h"
//#include "Deque.cpp"
#include"List.h"
#include"Heap.h"
#include"PriorityQueue.h"
//#include"HashTable.h"
#include"Rb_map.h"
class Bob{
public:
Bob(int i):v{}{
v.push_back(i);
v.push_back(2*i);
}
Vector<int> v;
};
Bob *p;
void test_func();
using namespace std;
int main(){
char a[5];
scanf("%s",a);
cout<<a<<endl;
// Rb_map<int,int> tree;
// tree.insert(55,555);
//
// tree.insert(66,777);
// tree.insert(88,333);
// tree.insert(44,444);
// tree.insert(99,333);
// tree.insert(110,444);
// tree.insert(22,333);
// tree.insert(111,333);
// tree.insert(112,333);
// tree.insert(113,333);
//
//// tree.insert(44,10000);
// tree.remove(99);
// tree.show_tree();
// Vector<int> v=tree.search(55);
// for(int i=0;i<v.size();++i){
// cout<<v.get(i)<<endl;
// }
// cout<<"++++++++++++++++++++"<<endl;
// Vector<int> v1=tree.search(55);
// for(int i=0;i<v1.size();++i){
// cout<<v1.get(i)<<endl;
// }
// cout<<"++++++++++++++++++++"<<endl;
// Vector<int> v2=tree.search(44);
// for(int i=0;i<v2.size();++i){
// cout<<v2.get(i)<<endl;
// }
// cout<<"++++++++++++++++++++"<<endl;
// Vector<int> v3=tree.search(66);
// for(int i=0;i<v3.size();++i){
// cout<<v3.get(i)<<endl;
// }
// cout<<"++++++++++++++++++++"<<endl;
//
//
Vector<int> v;
}
void test_func()
{
}