skipList
This commit is contained in:
14
List/skipList/main.cpp
Normal file
14
List/skipList/main.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <iostream>
|
||||
#include "skipList.h"
|
||||
|
||||
using namespace std;
|
||||
int main() {
|
||||
skipList<int, string> a(100, 2, 0.5);
|
||||
pair<int, string>* p = new pair<int, string>[50];
|
||||
p[0] = pair<int, string>(1, "Test");
|
||||
p[1] = pair<int, string>(2, "For");
|
||||
a.insert(p[0]);
|
||||
a.insert(p[1]);
|
||||
a.showLv0List();
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user