14 lines
306 B
C++
14 lines
306 B
C++
#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;
|
|
} |