├── BinaryHeap ├── 二项堆 ZhaoYangZ.md ├── 二项堆(课上演示).pptx ├── 实验截图-二项堆 │ ├── CMD-对拍.png │ ├── CMD-性能对比.png │ ├── CMD-性能对比图表.png │ ├── CMD-性能对比选项.png │ ├── CMD-数据输入.png │ ├── CMD-测试数据.png │ ├── CMD-输入文件.png │ ├── Qt-初始化堆.png │ ├── Qt-删除演示.png │ ├── Qt-合并演示.png │ ├── Qt-界面.png │ ├── cmd-操作提示.png │ └── qt-插入演示.png ├── 实验报告二项堆.docx └── 实验程序-二项堆 │ ├── BinaryHeap.cpp │ ├── BinaryHeap.h │ ├── check.cpp │ └── check.exe ├── CataLogTree ├── CataLogTree.sln ├── CataLogTree │ ├── CataLogTree.cpp │ ├── CataLogTree.vcxproj │ ├── CataLogTree.vcxproj.filters │ ├── CataLogTree.vcxproj.user │ ├── CatalogTree.h │ ├── Debug │ │ ├── CataLogTree.exe.recipe │ │ ├── CataLogTree.log │ │ ├── CataLogTree.obj │ │ ├── CataLogTree.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── CataLogTree.lastbuildstate │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ │ ├── catalogtree.obj.enc │ │ ├── main.obj │ │ ├── main.obj.enc │ │ ├── vc142.idb │ │ └── vc142.pdb │ ├── ijtbaemt.tmp │ ├── ijtbaemt.txt │ ├── in0.txt │ ├── in1.txt │ ├── in2.txt │ ├── in3.txt │ ├── in4.txt │ ├── in5.txt │ ├── in6.txt │ ├── in7.txt │ ├── in8.txt │ ├── in9.txt │ ├── main.cpp │ ├── out0.txt │ ├── out1.txt │ ├── out2.txt │ ├── out3.txt │ ├── out4.txt │ ├── out5.txt │ ├── out6.txt │ ├── out7.txt │ ├── out8.txt │ └── out9.txt ├── Debug │ ├── CataLogTree.exe │ ├── CataLogTree.ilk │ └── CataLogTree.pdb └── README.md ├── ExternalSort(Qt+Vs) ├── Readme.md ├── exsort(qt) │ ├── externalSorter.h │ ├── main.cpp │ ├── mainwindow.cpp │ ├── mainwindow.h │ ├── mainwindow.ui │ ├── makefile.h │ ├── minlosertree.cpp │ ├── minlosertree.h │ ├── ssss.pro │ └── ssss.pro.user └── externalsort │ ├── Debug │ ├── externalsort.exe │ ├── externalsort.ilk │ └── externalsort.pdb │ └── externalsort │ ├── Debug │ ├── externalSorter.obj │ ├── externalsort.exe.recipe │ ├── externalsort.log │ ├── externalsort.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── externalsort.lastbuildstate │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ └── link.write.1.tlog │ ├── main.obj │ ├── minlosertree.obj │ ├── vc142.idb │ └── vc142.pdb │ ├── externalsort.vcxproj │ ├── externalsort.vcxproj.filters │ └── externalsort.vcxproj.user ├── README.md ├── SKIPLIST ├── Debug │ ├── SKIPLIST.exe.recipe │ ├── SKIPLIST.log │ ├── SKIPLIST.obj │ ├── SKIPLIST.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── SKIPLIST.lastbuildstate │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ └── link.write.1.tlog │ ├── main.obj │ ├── vc142.idb │ └── vc142.pdb ├── Readme.md ├── SKIPLIST.cpp ├── SKIPLIST.h ├── SKIPLIST.vcxproj ├── SKIPLIST.vcxproj.filters ├── SKIPLIST.vcxproj.user ├── generator │ ├── __pycache__ │ │ ├── config.cpython-36.pyc │ │ ├── config.cpython-38.pyc │ │ └── skiplist.cpython-38.pyc │ ├── config.py │ ├── input.py │ └── skiplist.py ├── input │ ├── dbdata │ │ ├── dbinput_0.txt │ │ ├── dbinput_1.txt │ │ ├── dbinput_2.txt │ │ ├── dbinput_3.txt │ │ ├── dbinput_4.txt │ │ ├── dbinput_5.txt │ │ ├── dbinput_6.txt │ │ ├── dbinput_7.txt │ │ ├── dbinput_8.txt │ │ └── dbinput_9.txt │ ├── duplicate │ │ ├── input_0.txt │ │ ├── input_1.txt │ │ ├── input_2.txt │ │ ├── input_3.txt │ │ ├── input_4.txt │ │ ├── input_5.txt │ │ ├── input_6.txt │ │ ├── input_7.txt │ │ ├── input_8.txt │ │ └── input_9.txt │ └── non-duplicate │ │ ├── ninput_0.txt │ │ ├── ninput_1.txt │ │ ├── ninput_2.txt │ │ ├── ninput_3.txt │ │ ├── ninput_4.txt │ │ ├── ninput_5.txt │ │ ├── ninput_6.txt │ │ ├── ninput_7.txt │ │ ├── ninput_8.txt │ │ └── ninput_9.txt ├── main.cpp └── output │ ├── dboutput_0.txt │ ├── dboutput_1.txt │ ├── dboutput_2.txt │ ├── dboutput_3.txt │ ├── dboutput_4.txt │ ├── dboutput_5.txt │ ├── dboutput_6.txt │ ├── dboutput_7.txt │ ├── dboutput_8.txt │ ├── dboutput_9.txt │ ├── non-duplicate │ ├── noutput_0.txt │ ├── noutput_1.txt │ ├── noutput_2.txt │ ├── noutput_3.txt │ ├── noutput_4.txt │ ├── noutput_5.txt │ ├── noutput_6.txt │ ├── noutput_7.txt │ ├── noutput_8.txt │ └── noutput_9.txt │ ├── output_0.txt │ ├── output_1.txt │ ├── output_2.txt │ ├── output_3.txt │ ├── output_4.txt │ ├── output_5.txt │ ├── output_6.txt │ ├── output_7.txt │ ├── output_8.txt │ └── output_9.txt └── oil_booster ├── OILBOSTERR ├── Debug │ ├── OILBOSTERR.exe │ ├── OILBOSTERR.ilk │ └── OILBOSTERR.pdb ├── OILBOSTERR.sln └── OILBOSTERR │ ├── Debug │ ├── OILBOSTERR.exe.recipe │ ├── OILBOSTERR.log │ ├── OILBOSTERR.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── OILBOSTERR.lastbuildstate │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ └── link.write.1.tlog │ ├── main.obj │ ├── vc142.idb │ └── vc142.pdb │ ├── OILBOSTERR.vcxproj │ ├── OILBOSTERR.vcxproj.filters │ ├── OILBOSTERR.vcxproj.user │ ├── cost1.txt │ ├── cost2.txt │ ├── graph.h │ ├── main.cpp │ ├── make.py │ ├── room1.txt │ ├── room2.txt │ ├── solution1.h │ ├── solution2.h │ ├── testroom.py │ └── testtime.py ├── README.md ├── testspace.png └── testtime.png /BinaryHeap/二项堆 ZhaoYangZ.md: -------------------------------------------------------------------------------- 1 | # 二项堆 2 | **张朝阳 2021/5/21** 3 | 4 | ## 题目要求 5 | 6 | **二项堆的实现和分析** 7 | 8 | **问题描述:** 9 | 10 | 认识二项树、二项堆数据结构,并能应用该结构解决实际问题。 11 | 12 | 二项堆是二项树的集合,**二项树**是一种递归定义的有序树。它的递归定义如下: 13 | 14 | (1) 二项树B0只有一个结点; 15 | 16 | (2) 二项树Bk由两棵二项树B(k-1)组成的,其中一棵树是另一棵树根的最左孩子。 17 | 18 | **二项树具有如下的性质:** 19 | 20 | 1. 对于树Bk,该树含有2k个节点; 21 | 22 | 2. 树的高度是k; 23 | 24 | 3. 在深度为i中含有$2^n$节点,其中i = 0, 1,2 ... , k; 25 | 26 | **二项堆H是具备如下性质的二项树的集合**: 27 | 28 | 1. H中的每个二项树遵循最小堆性质; 29 | 30 | 2. 对于任意的整数k的话,H中最多有一个二项树的根的度数是k; 31 | 32 | **基本要求:** 33 | 34 | ① 设计二项堆ADT,其上的基本操作包括: 35 | 36 | Make Heap ():初始化一个空堆; 37 | 38 | Find-Min():返回一个指向最小关键字元素的指针 39 | 40 | Union(H):与堆H进行合并,合并后的结果保存在当前堆,H变为空 41 | 42 | Insert(x):插入元素x 43 | 44 | Extract-Min():从堆中删除最小关键字元素,并返回指向删除元素的指针。 45 | 46 | Decrease Key (x,k):将元素x的关键字赋予新值k; 47 | 48 | Delete(x):从堆中删除元素x; 49 | 50 | ② 实现二项堆ADT,包括实现二项堆的存储结构以及其上的基本操作,并分析基本操作的时间复杂性。 51 | 52 | ③ 实现二项堆ADT的基本操作展示。 53 | 54 | 55 | 56 | # 实现内容 57 | 58 | ## 文件说明 59 | 60 | 包括以下文件: BinaryHeap.h BinaryHeap.cpp 二项堆实现文件 61 | Makedata.h 数据生成器 生成指定范围以及操作次数的数据集 62 | STLPQ.h 标准STL的priority_queue测试,使用vector实现,进行对拍用 63 | HBLT.h 与左高树进行效率对比分析 64 | Qt部分代码,便于演示合并、删除、插入操作,手动输入数据 65 | 66 | ## 使用模板类 67 | 68 | compare函数作为模板,可以用less greater方法,即可以最大堆,也可以最小堆 69 | 更接近真实的优先队列 70 | 71 | ## 数据生成器--标准输入 72 | 73 | 数据生成器生成的**标准输入**格式为: 74 | 第一行一个n m 代表初始化二项堆的数据个数,以及后续进行M次操作 75 | 2到n+1行输入二项堆初始化的数据 76 | 接着M行输入m次操作,操作的输入如下: 77 | 78 | *** 79 | **A x 代表插入元素x** 80 | 81 | **B 代表extract_min** 82 | 83 | **C 代表Find_Min** 84 | 85 | **D x 代表删除元素x** 86 | 87 | **E oldk newk 代表把旧值为oldk的元素更新为newk** 88 | 89 | *** 90 | 91 | ## 标准priority_queue+对拍 92 | 这个地方因为decrease等操作需要遍历,PQ不支持,只能一个个拿出来再放回去,跑1e5数据集太慢了,所以改成使用了vector + max_element() 的方法,最后用fc对拍 93 | 94 | ## HBLT性能对比 95 | 对比了一下效率时间 96 | BinaryHeap一个是O(log(n+m) ) HBLT是O(logn(n*m) ) 97 | 98 | ## Dot 可视化 99 | 100 | 可以较好的演示合并操作等操作 101 | -------------------------------------------------------------------------------- /BinaryHeap/二项堆(课上演示).pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/二项堆(课上演示).pptx -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/CMD-对拍.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/CMD-对拍.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/CMD-性能对比.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/CMD-性能对比.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/CMD-性能对比图表.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/CMD-性能对比图表.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/CMD-性能对比选项.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/CMD-性能对比选项.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/CMD-数据输入.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/CMD-数据输入.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/CMD-测试数据.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/CMD-测试数据.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/CMD-输入文件.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/CMD-输入文件.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/Qt-初始化堆.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/Qt-初始化堆.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/Qt-删除演示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/Qt-删除演示.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/Qt-合并演示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/Qt-合并演示.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/Qt-界面.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/Qt-界面.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/cmd-操作提示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/cmd-操作提示.png -------------------------------------------------------------------------------- /BinaryHeap/实验截图-二项堆/qt-插入演示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验截图-二项堆/qt-插入演示.png -------------------------------------------------------------------------------- /BinaryHeap/实验报告二项堆.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验报告二项堆.docx -------------------------------------------------------------------------------- /BinaryHeap/实验程序-二项堆/BinaryHeap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验程序-二项堆/BinaryHeap.cpp -------------------------------------------------------------------------------- /BinaryHeap/实验程序-二项堆/BinaryHeap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验程序-二项堆/BinaryHeap.h -------------------------------------------------------------------------------- /BinaryHeap/实验程序-二项堆/check.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define LL long long 4 | #define MAXN 101000 5 | using namespace std; 6 | int main() 7 | { 8 | int cnt = 100; 9 | int flag = 1; 10 | for(int i=1;i<=100;i++) 11 | { 12 | string a="F:\\vscpp\\BinaryHeap\\BinaryHeap\\outputSTD\\outputstd" 13 | + to_string(i) + ".txt"; 14 | 15 | string b= "F:\\vscpp\\BinaryHeap\\BinaryHeap\\outputSTD\\outputstd" 16 | + to_string(i) + ".txt"; 17 | string order="fc "+a+" "+b; 18 | if(system(order.c_str())) 19 | { 20 | puts("Wrong Answer!\n"); 21 | flag = 0; 22 | break; 23 | } 24 | else{ cout<<"accept\n"; 25 | } 26 | } 27 | fir:SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_INTENSITY | FOREGROUND_RED | 28 | FOREGROUND_GREEN); 29 | if(flag) cout<<"ALL ACCEPT!\n"; 30 | else cout<<"Wrong Answer!\n"; 31 | return 0; 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /BinaryHeap/实验程序-二项堆/check.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/BinaryHeap/实验程序-二项堆/check.exe -------------------------------------------------------------------------------- /CataLogTree/CataLogTree.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31129.286 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CataLogTree", "CataLogTree\CataLogTree.vcxproj", "{E67C7D8F-0FD7-4E81-9A28-D57077A55293}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Debug|x64.ActiveCfg = Debug|x64 17 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Debug|x64.Build.0 = Debug|x64 18 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Debug|x86.ActiveCfg = Debug|Win32 19 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Debug|x86.Build.0 = Debug|Win32 20 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Release|x64.ActiveCfg = Release|x64 21 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Release|x64.Build.0 = Release|x64 22 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Release|x86.ActiveCfg = Release|Win32 23 | {E67C7D8F-0FD7-4E81-9A28-D57077A55293}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {2F10A470-A868-43DB-8DF5-CDCB07A411F5} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/CataLogTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/CataLogTree.cpp -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/CataLogTree.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 16.0 23 | Win32Proj 24 | {e67c7d8f-0fd7-4e81-9a28-d57077a55293} 25 | CataLogTree 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v142 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v142 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v142 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v142 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | false 78 | 79 | 80 | true 81 | 82 | 83 | false 84 | 85 | 86 | 87 | Level3 88 | true 89 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 90 | true 91 | 92 | 93 | Console 94 | true 95 | 96 | 97 | 98 | 99 | Level3 100 | true 101 | true 102 | true 103 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 104 | true 105 | 106 | 107 | Console 108 | true 109 | true 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 118 | true 119 | 120 | 121 | Console 122 | true 123 | 124 | 125 | 126 | 127 | Level3 128 | true 129 | true 130 | true 131 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 132 | true 133 | 134 | 135 | Console 136 | true 137 | true 138 | true 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/CataLogTree.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 源文件 23 | 24 | 25 | 26 | 27 | 头文件 28 | 29 | 30 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/CataLogTree.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/CatalogTree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/CatalogTree.h -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.exe.recipe: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | F:\vscpp\CataLogTree\Debug\CataLogTree.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.log: -------------------------------------------------------------------------------- 1 |  main.cpp 2 | F:\vscpp\CataLogTree\CataLogTree\main.cpp(125,22): warning C4018: “<”: 有符号/无符号不匹配 3 | F:\vscpp\CataLogTree\CataLogTree\main.cpp(137,22): warning C4018: “<”: 有符号/无符号不匹配 4 | F:\vscpp\CataLogTree\CataLogTree\main.cpp(173,23): warning C4018: “<”: 有符号/无符号不匹配 5 | CataLogTree.vcxproj -> F:\vscpp\CataLogTree\Debug\CataLogTree.exe 6 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/CataLogTree.obj -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/CataLogTree.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/CataLogTree.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/CataLogTree.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.tlog/CataLogTree.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.28.29910:TargetPlatformVersion=10.0.19041.0: 2 | Debug|Win32|F:\vscpp\CataLogTree\| 3 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/CataLogTree.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/CataLogTree.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/CataLogTree.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/CataLogTree.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/catalogtree.obj.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/catalogtree.obj.enc -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/main.obj -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/main.obj.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/main.obj.enc -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/vc142.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/vc142.idb -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/Debug/vc142.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/Debug/vc142.pdb -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/ijtbaemt.tmp: -------------------------------------------------------------------------------- 1 | |-/ 2 | ||-fvyxhmnhpgqy 3 | |||zdptjkwnlyo 4 | |||ovmzblvmbd 5 | ||-x 6 | ||-uniksuqmxujwjmnnob 7 | ||-ahvuuyzfk 8 | ||-vcyjyrvilppdbfzz 9 | ||-jrsqqqrroukep 10 | |||t 11 | |||ox 12 | |||edsvsenzltzwb 13 | |||skgg 14 | |||cbnzbe 15 | |||-jelkcnwalfdso 16 | ||||mz 17 | ||||xsfiy 18 | ||||pjflnemrev 19 | ||||-onnrnlfiokyicxcnp 20 | |||-wjnnoumahqdj 21 | ||pa 22 | ||es 23 | ||wcp 24 | END 25 | CUR: -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/ijtbaemt.txt: -------------------------------------------------------------------------------- 1 | |-/ 2 | ||-fvyxhmnhpgqy 3 | |||zdptjkwnlyo 4 | |||ovmzblvmbd 5 | ||-x 6 | ||-uniksuqmxujwjmnnob 7 | ||-ahvuuyzfk 8 | ||-vcyjyrvilppdbfzz 9 | ||-jrsqqqrroukep 10 | |||t 11 | |||ox 12 | |||edsvsenzltzwb 13 | |||skgg 14 | |||cbnzbe 15 | |||-jelkcnwalfdso 16 | ||||mz 17 | ||||xsfiy 18 | ||||pjflnemrev 19 | ||||-onnrnlfiokyicxcnp 20 | |||-wjnnoumahqdj 21 | ||pa 22 | ||es 23 | ||wcp 24 | END 25 | CUR:/fvyxhmnhpgqy 26 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in1.txt: -------------------------------------------------------------------------------- 1 | mkdir vjfvnya 2 | cd .. 3 | mkdir qzwjxbadpxipp 4 | cd /qzwjxbadpxipp 5 | mkdir hqsxut 6 | cd .. 7 | cd .. 8 | mkfile vydqqcmguf 9 | cd 10 | mkfile gspjvxstaocvxzaraz 11 | cd 12 | mkdir vkygshkcmujpgdncoy 13 | dir 14 | cd vjfvnya 15 | cd .. 16 | dir 17 | cd .. 18 | mkfile evkox 19 | mkdir mkzfxq 20 | mkfile mmemsfdktvb 21 | dir 22 | delete gspjvxstaocvxzaraz 23 | cd 24 | cd .. 25 | cd 26 | cd .. 27 | delete evkox 28 | delete mmemsfdktvb 29 | cd /mkzfxq 30 | cd 31 | mkfile mxtsgxtqbaxchrtnneiyoj 32 | dir 33 | mkfile cqvoisvxlvrjknx 34 | mkfile dxzckfguiyeiveaujms 35 | dir 36 | delete cqvoisvxlvrjknx 37 | cd 38 | mkfile mu 39 | mkdir jrqlxdfsrkmtk 40 | mkdir thzxhessrxz 41 | cd 42 | dir 43 | cd /mkzfxq/jrqlxdfsrkmtk 44 | dir 45 | mkfile eqlfmeznozndhyjeognmt 46 | mkfile gqz 47 | cd 48 | mkfile jbvfjrtsuosph 49 | mkdir bclfjnj 50 | delete eqlfmeznozndhyjeognmt 51 | mkfile hynyqdzbyoiyxosw 52 | cd .. 53 | cd .. 54 | mkdir wimwzvmxkywkuohb 55 | mkdir yallt 56 | delete vydqqcmguf 57 | dir 58 | cd .. 59 | cd .. 60 | cd 61 | cd /vjfvnya 62 | dir 63 | cd .. 64 | dir 65 | cd qzwjxbadpxipp 66 | cd .. 67 | cd /qzwjxbadpxipp 68 | mkdir hhxpeyd 69 | cd 70 | cd .. 71 | cd 72 | mkdir dmoryegilvvmixh 73 | dir 74 | mkdir timx 75 | mkfile subagihl 76 | cd vkygshkcmujpgdncoy 77 | dir 78 | dir 79 | dir 80 | mkdir mnugbnii 81 | cd mnugbnii 82 | cd 83 | mkdir bqozngvzjggdlypkp 84 | dir 85 | cd .. 86 | dir 87 | mkdir mrkcobvgqcaemkeetzo 88 | mkfile zuqlcdekwh 89 | cd .. 90 | cd 91 | delete subagihl 92 | mkfile pngnokvaahkoetfhamkufr 93 | mkdir ikydyhc 94 | cd .. 95 | cd .. 96 | cd .. 97 | cd 98 | mkfile tgryljfutybvogdakowddd 99 | cd .. 100 | cd 101 | mkfile vycgtujlzbbvzw 102 | delete vycgtujlzbbvzw 103 | mkfile kbibdlmlniavi 104 | cd .. 105 | cd 106 | cd 107 | dir 108 | dir 109 | mkfile emmzmfgq 110 | dir 111 | mkfile nbjnfbigvcysohhsiiqqg 112 | mkfile htdwqkddsl 113 | delete kbibdlmlniavi 114 | dir 115 | mkdir lzeb 116 | mkdir v 117 | dir 118 | dir 119 | dir 120 | cd 121 | cd 122 | cd vjfvnya 123 | mkdir dg 124 | cd .. 125 | mkfile zpfmscyuflcaexhdls 126 | cd .. 127 | cd 128 | delete tgryljfutybvogdakowddd 129 | mkdir oznlldsbfmx 130 | cd 131 | cd .. 132 | cd 133 | cd 134 | cd lzeb 135 | mkdir ylzmlcetm 136 | mkdir actrpg 137 | mkdir hqjn 138 | cd 139 | mkdir p 140 | cd .. 141 | delete zpfmscyuflcaexhdls 142 | cd /yallt 143 | cd .. 144 | delete htdwqkddsl 145 | delete pngnokvaahkoetfhamkufr 146 | cd 147 | delete nbjnfbigvcysohhsiiqqg 148 | mkfile zgbqsthbniw 149 | dir 150 | cd /mkzfxq 151 | dir 152 | cd .. 153 | dir 154 | cd /dmoryegilvvmixh 155 | mkfile eorue 156 | mkdir l 157 | cd 158 | mkfile crcsmacndgurohjdjo 159 | mkfile q 160 | dir 161 | delete eorue 162 | cd l 163 | mkfile kdiytjpowrwfsksuk 164 | cd .. 165 | dir 166 | dir 167 | cd 168 | cd /dmoryegilvvmixh/l 169 | cd .. 170 | mkdir hmlpyuhnj 171 | delete crcsmacndgurohjdjo 172 | cd 173 | cd 174 | mkfile ehnghwh 175 | cd /dmoryegilvvmixh/l 176 | cd .. 177 | dir 178 | cd l 179 | mkfile ytzs 180 | mkdir kkhotlherhrlvdrras 181 | mkfile ghhtgvbgmihybqi 182 | mkdir uykhlprejvxhqtbg 183 | delete kdiytjpowrwfsksuk 184 | cd .. 185 | mkfile hynev 186 | cd /dmoryegilvvmixh/hmlpyuhnj 187 | cd .. 188 | cd 189 | cd /dmoryegilvvmixh/hmlpyuhnj 190 | mkdir pkopaopkhonqswnvhh 191 | dir 192 | cd /dmoryegilvvmixh/hmlpyuhnj/pkopaopkhonqswnvhh 193 | dir 194 | mkdir xzzkyiliyfgyzdhtbk 195 | cd xzzkyiliyfgyzdhtbk 196 | cd .. 197 | mkfile mtyydfuqctsrabuvssw 198 | cd 199 | cd .. 200 | mkdir gpracigxlxkbpsppzqzwju 201 | cd .. 202 | mkdir x 203 | mkdir zgpdrl 204 | dir 205 | delete hynev 206 | cd .. 207 | cd .. 208 | mkfile l 209 | cd vkygshkcmujpgdncoy 210 | mkdir qojzspaptccqkelbic 211 | mkfile upg 212 | cd .. 213 | cd 214 | cd /lzeb 215 | cd /lzeb/actrpg 216 | cd 217 | cd .. 218 | mkdir rmfbtjqkvsax 219 | cd hqjn 220 | cd .. 221 | mkfile swb 222 | cd 223 | delete swb 224 | cd .. 225 | cd .. 226 | mkdir xjxhsonq 227 | cd .. 228 | dir 229 | dir 230 | cd 231 | cd 232 | cd .. 233 | mkfile sca 234 | cd wimwzvmxkywkuohb 235 | dir 236 | mkdir posukmhtiknddeonqzpnwq 237 | dir 238 | cd 239 | mkfile fqhthygqdlokfwtmideihm 240 | cd .. 241 | cd 242 | mkdir jycig 243 | mkdir h 244 | delete emmzmfgq 245 | cd .. 246 | mkfile wbhtbyyyui 247 | mkfile janbp 248 | dir 249 | cd /timx 250 | mkdir xmhykflvl 251 | mkfile smcsda 252 | dir 253 | mkdir yydtjgqmxagwjon 254 | cd /timx/yydtjgqmxagwjon 255 | mkdir zvqdmhvolznjwggdff 256 | cd .. 257 | cd /timx/xmhykflvl 258 | mkdir ptc 259 | cd ptc 260 | mkdir tzofprudf 261 | cd .. 262 | cd .. 263 | mkdir oguthjyikb 264 | cd yydtjgqmxagwjon 265 | dir 266 | mkfile emirqiyqaaanuoakwc 267 | dir 268 | cd 269 | cd zvqdmhvolznjwggdff 270 | dir 271 | mkfile g 272 | dir 273 | mkfile fa 274 | mkfile mjb 275 | cd .. 276 | cd 277 | delete emirqiyqaaanuoakwc 278 | dir 279 | cd zvqdmhvolznjwggdff 280 | mkfile aqfnhvydjojsnjngpymyh 281 | cd 282 | delete aqfnhvydjojsnjngpymyh 283 | delete mjb 284 | cd 285 | mkdir x 286 | dir 287 | dir 288 | cd 289 | mkfile sxaxlmdl 290 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x 291 | mkdir z 292 | mkdir ndkaxepndxjoeyajvml 293 | cd .. 294 | dir 295 | cd 296 | mkdir yaw 297 | cd 298 | cd yaw 299 | cd .. 300 | delete fa 301 | cd .. 302 | cd zvqdmhvolznjwggdff 303 | cd x 304 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x/z 305 | cd 306 | dir 307 | mkfile vujwdgxiikrdux 308 | cd 309 | cd 310 | cd 311 | mkdir icghdnkqzlwccshe 312 | dir 313 | mkfile whfyzoubfq 314 | delete whfyzoubfq 315 | cd .. 316 | mkfile jzy 317 | dir 318 | mkfile xgpbqyhuaromjkr 319 | mkdir iyqjrbmrigsy 320 | mkfile f 321 | mkdir wrfzsw 322 | cd ndkaxepndxjoeyajvml 323 | mkdir tqd 324 | dir 325 | dir 326 | dir 327 | cd 328 | cd 329 | dir 330 | mkdir prwqovhl 331 | mkfile wcidsnep 332 | cd 333 | delete wcidsnep 334 | mkfile hkpy 335 | cd .. 336 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x/wrfzsw 337 | dir 338 | dir 339 | mkdir sc 340 | dir 341 | dir 342 | cd .. 343 | delete jzy 344 | dir 345 | mkfile weeclnwlloowhvqisuj 346 | delete f 347 | cd 348 | cd ndkaxepndxjoeyajvml 349 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x/ndkaxepndxjoeyajvml/tqd 350 | mkfile wkthmisjbtdksgprxeyhrr 351 | cd 352 | dir 353 | cd .. 354 | cd 355 | delete hkpy 356 | mkfile ruqoddyswzx 357 | mkdir kzyqxirmigzyx 358 | mkfile nsgj 359 | cd 360 | delete ruqoddyswzx 361 | delete nsgj 362 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x/ndkaxepndxjoeyajvml/kzyqxirmigzyx 363 | cd 364 | mkfile cioirdbdiindgzkd 365 | dir 366 | mkfile jmhxhudljzssrpunm 367 | dir 368 | delete cioirdbdiindgzkd 369 | dir 370 | mkfile nfehtzsjcbdhsdgufwdkbj 371 | cd .. 372 | cd 373 | mkfile xagv 374 | cd 375 | cd .. 376 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x/z 377 | mkfile sqiscpnetsnrluihutwbeg 378 | delete sqiscpnetsnrluihutwbeg 379 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x/z/icghdnkqzlwccshe 380 | mkdir ijseypjarfgjwpmtofjg 381 | cd 382 | cd .. 383 | mkdir u 384 | dir 385 | mkfile lchhdopwugynygklbi 386 | dir 387 | mkfile fswoiyvjagwsqtqz 388 | mkfile odyx 389 | mkfile ebwpwhurdaefdzwwinx 390 | dir 391 | cd /timx/yydtjgqmxagwjon/zvqdmhvolznjwggdff/x/z/u 392 | dir 393 | mkfile jlgu 394 | mkfile fkliqjpsxqj 395 | cd 396 | cd .. 397 | cd .. 398 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in2.txt: -------------------------------------------------------------------------------- 1 | dir 2 | mkfile coxbettlmsdksrapr 3 | dir 4 | cd .. 5 | cd 6 | mkdir rxvdlzgjtcszmmwomuzq 7 | dir 8 | cd 9 | cd rxvdlzgjtcszmmwomuzq 10 | cd .. 11 | mkfile urnwyjxrgmftduxtxjm 12 | dir 13 | mkfile xuqmrrzo 14 | mkdir itgttrqilx 15 | dir 16 | cd /itgttrqilx 17 | mkfile hhwjyhtgi 18 | mkfile zwojedvxpf 19 | dir 20 | cd 21 | mkdir nslxkivgkm 22 | delete hhwjyhtgi 23 | cd /itgttrqilx/nslxkivgkm 24 | dir 25 | mkfile uuyvrrhhlmwrzn 26 | mkfile hiypobzdzzgivkwwqzfjj 27 | cd 28 | delete uuyvrrhhlmwrzn 29 | cd .. 30 | mkdir pjyouyhaq 31 | dir 32 | cd 33 | dir 34 | cd 35 | dir 36 | mkdir cpgujwxyatjqovgrvzbalo 37 | cd cpgujwxyatjqovgrvzbalo 38 | dir 39 | dir 40 | cd 41 | cd .. 42 | cd 43 | dir 44 | mkfile iribye 45 | mkfile ebpmdlvmpbqylftoqkhb 46 | cd .. 47 | cd 48 | dir 49 | delete xuqmrrzo 50 | mkdir weqsdyfrwl 51 | dir 52 | delete urnwyjxrgmftduxtxjm 53 | dir 54 | cd .. 55 | dir 56 | cd /itgttrqilx 57 | cd 58 | mkdir xqglhtarnwpctzieiu 59 | cd .. 60 | cd .. 61 | dir 62 | mkfile qfnadtdowvrwyerppajxp 63 | cd .. 64 | cd .. 65 | mkfile zlujzckmjzowu 66 | dir 67 | cd .. 68 | mkfile uqkybjmutmssuacbgjm 69 | mkdir qnwkuuhdsrb 70 | cd /rxvdlzgjtcszmmwomuzq 71 | mkfile sdmzimzwrnfsjv 72 | cd 73 | cd .. 74 | dir 75 | cd rxvdlzgjtcszmmwomuzq 76 | cd .. 77 | mkfile hllynotkbsgq 78 | mkdir zzxolqqcwkukgubwdhm 79 | cd 80 | mkfile dolrz 81 | mkdir fqvdjfwute 82 | mkdir lkkfjtzpluyutdevevzn 83 | cd /weqsdyfrwl 84 | mkdir ninebsnnldx 85 | dir 86 | cd .. 87 | mkfile ootdqterxzrodm 88 | cd 89 | delete zlujzckmjzowu 90 | dir 91 | mkfile bqdncfghobcitpexhh 92 | mkdir iwatogxjudqnp 93 | cd .. 94 | cd .. 95 | cd /lkkfjtzpluyutdevevzn 96 | cd 97 | mkfile jeb 98 | mkdir tpdcdgofvggqxdt 99 | mkdir mdtlwiaadpu 100 | cd 101 | mkfile yzfzcdkr 102 | cd .. 103 | cd iwatogxjudqnp 104 | cd 105 | mkfile btdyxqwmzuxfpd 106 | mkdir logssitriazpqenksp 107 | dir 108 | cd logssitriazpqenksp 109 | cd 110 | mkdir xtzvzbbkwxvukyiyiz 111 | dir 112 | cd 113 | cd /iwatogxjudqnp/logssitriazpqenksp/xtzvzbbkwxvukyiyiz 114 | mkfile anufnfinlafs 115 | mkfile fiaoxrmdmlat 116 | cd 117 | cd .. 118 | mkdir ghiihztbznbuamrhtir 119 | cd 120 | dir 121 | cd .. 122 | mkdir pkeh 123 | cd /iwatogxjudqnp/pkeh 124 | mkdir derjbjzqcbrybegih 125 | dir 126 | cd .. 127 | cd 128 | cd 129 | cd 130 | cd 131 | cd .. 132 | cd 133 | mkdir nmq 134 | delete bqdncfghobcitpexhh 135 | cd .. 136 | cd 137 | dir 138 | cd .. 139 | cd 140 | delete qfnadtdowvrwyerppajxp 141 | dir 142 | delete coxbettlmsdksrapr 143 | mkdir jzrfeheovyzteqdwxb 144 | dir 145 | cd zzxolqqcwkukgubwdhm 146 | dir 147 | cd .. 148 | cd qnwkuuhdsrb 149 | cd .. 150 | cd /zzxolqqcwkukgubwdhm 151 | mkfile zvdxfbfrwgfwtmcjacdjsg 152 | delete zvdxfbfrwgfwtmcjacdjsg 153 | cd .. 154 | delete hllynotkbsgq 155 | cd .. 156 | cd 157 | delete dolrz 158 | mkfile xbbohft 159 | dir 160 | mkfile pmpeumokoxmev 161 | dir 162 | mkdir ztlinifklwga 163 | cd .. 164 | mkfile olozrckjkqmtzfflgad 165 | cd .. 166 | mkdir bvcvwqoysbctzs 167 | dir 168 | cd /lkkfjtzpluyutdevevzn 169 | cd .. 170 | cd 171 | cd lkkfjtzpluyutdevevzn 172 | cd /lkkfjtzpluyutdevevzn/mdtlwiaadpu 173 | mkfile wrzrbrtbeiygyiaxdsfjzw 174 | dir 175 | dir 176 | mkfile luhm 177 | dir 178 | cd 179 | cd 180 | mkfile xescjutnuzydukr 181 | mkfile piopaagpzvxz 182 | mkdir pfy 183 | mkfile djrih 184 | cd .. 185 | delete jeb 186 | mkfile iwskubw 187 | dir 188 | cd .. 189 | dir 190 | cd .. 191 | mkfile ryeyzdqmj 192 | dir 193 | cd nmq 194 | mkdir ofsavbzjjkyauvvnuutq 195 | cd ofsavbzjjkyauvvnuutq 196 | cd 197 | mkfile zybchx 198 | cd .. 199 | cd /nmq/ofsavbzjjkyauvvnuutq 200 | cd .. 201 | dir 202 | cd /nmq/ofsavbzjjkyauvvnuutq 203 | cd .. 204 | mkdir drvpmuktunqwebigii 205 | mkdir renfwgsrbejwpwcafphx 206 | cd 207 | mkfile olqxmvkkswvmteekeq 208 | delete olqxmvkkswvmteekeq 209 | cd .. 210 | mkdir vjnnkygjyhtdsgaru 211 | dir 212 | mkfile sxylpdj 213 | mkdir czejprlumewbfivjvfdkv 214 | cd 215 | cd 216 | mkdir yypibktiktvljlzd 217 | dir 218 | mkfile lhmi 219 | mkdir faumqllfpds 220 | cd /faumqllfpds 221 | cd 222 | mkfile wnoo 223 | dir 224 | dir 225 | dir 226 | mkdir jrihqfkfztm 227 | cd .. 228 | dir 229 | cd 230 | delete olozrckjkqmtzfflgad 231 | cd 232 | cd 233 | cd /czejprlumewbfivjvfdkv 234 | dir 235 | cd .. 236 | dir 237 | cd .. 238 | cd .. 239 | mkfile jhhqptblurzoyammedjlpt 240 | mkfile fehctamrhbr 241 | dir 242 | dir 243 | mkdir eyzru 244 | cd /lkkfjtzpluyutdevevzn 245 | mkdir grjwmojekiiulh 246 | mkfile rlmzvaiwpeluzsej 247 | cd /lkkfjtzpluyutdevevzn/grjwmojekiiulh 248 | dir 249 | cd 250 | cd .. 251 | mkfile pmh 252 | mkfile eaqjgyy 253 | cd 254 | mkdir vdzku 255 | mkfile vttnwhemdgeikweds 256 | delete yzfzcdkr 257 | delete eaqjgyy 258 | cd tpdcdgofvggqxdt 259 | mkfile gvaijplegytv 260 | mkdir rstinefpaubuvmgod 261 | mkdir izpodpinjlcqytzmmgxzz 262 | dir 263 | dir 264 | cd 265 | cd 266 | cd 267 | cd .. 268 | cd 269 | dir 270 | dir 271 | cd .. 272 | cd .. 273 | dir 274 | mkdir nktza 275 | dir 276 | cd .. 277 | cd 278 | cd /weqsdyfrwl 279 | cd /weqsdyfrwl/ninebsnnldx 280 | cd .. 281 | cd .. 282 | delete lhmi 283 | dir 284 | mkdir tnfctazosmvbvuquy 285 | cd .. 286 | dir 287 | cd .. 288 | mkdir lxoai 289 | delete pmpeumokoxmev 290 | cd 291 | cd .. 292 | dir 293 | delete sxylpdj 294 | cd 295 | dir 296 | mkdir xsuva 297 | delete uqkybjmutmssuacbgjm 298 | cd jzrfeheovyzteqdwxb 299 | mkdir hyxssduck 300 | cd 301 | mkfile hygqrilmdo 302 | mkfile wlqqtsclbnbybtlqdgp 303 | cd hyxssduck 304 | dir 305 | dir 306 | mkdir jfovogboagbhxdjxhvy 307 | cd jfovogboagbhxdjxhvy 308 | mkfile cxnrxznhihrqxnd 309 | delete cxnrxznhihrqxnd 310 | mkdir fiuadr 311 | dir 312 | dir 313 | cd 314 | dir 315 | dir 316 | mkdir xik 317 | cd .. 318 | cd /jzrfeheovyzteqdwxb/hyxssduck/jfovogboagbhxdjxhvy 319 | cd fiuadr 320 | mkdir w 321 | cd 322 | dir 323 | cd .. 324 | cd 325 | cd fiuadr 326 | cd .. 327 | mkfile mvdrqekeprcyci 328 | mkfile xdeiviybn 329 | delete xdeiviybn 330 | cd .. 331 | cd 332 | dir 333 | mkfile rl 334 | cd jfovogboagbhxdjxhvy 335 | cd 336 | dir 337 | dir 338 | mkfile ujchnzuelk 339 | cd /jzrfeheovyzteqdwxb/hyxssduck/jfovogboagbhxdjxhvy/fiuadr 340 | dir 341 | mkfile otjhkdhdadv 342 | mkdir hx 343 | mkdir xrhbdidcqhi 344 | dir 345 | mkdir kecadvb 346 | mkfile cvsptp 347 | cd /jzrfeheovyzteqdwxb/hyxssduck/jfovogboagbhxdjxhvy/fiuadr/hx 348 | dir 349 | cd 350 | dir 351 | dir 352 | cd .. 353 | mkdir xkpaoczlfxdv 354 | mkfile prbj 355 | cd 356 | delete prbj 357 | dir 358 | delete otjhkdhdadv 359 | cd .. 360 | mkfile jtyavyhhosgm 361 | mkdir nljrjdadfgv 362 | delete mvdrqekeprcyci 363 | cd xik 364 | cd 365 | mkfile iggakmhqjierlikfc 366 | cd .. 367 | cd .. 368 | dir 369 | dir 370 | mkfile caxzhjtcvasqixofwn 371 | cd jfovogboagbhxdjxhvy 372 | dir 373 | cd /jzrfeheovyzteqdwxb/hyxssduck/jfovogboagbhxdjxhvy/nljrjdadfgv 374 | cd .. 375 | mkfile eexdufpjpehzlzn 376 | mkdir bpmldrgg 377 | mkfile wxbehii 378 | mkfile dissnlrv 379 | mkdir kuvdzvvkj 380 | mkfile adesb 381 | mkfile jzrehhuuaab 382 | mkdir knllvdwf 383 | mkfile nra 384 | delete wxbehii 385 | cd .. 386 | dir 387 | dir 388 | mkdir a 389 | cd .. 390 | cd .. 391 | cd /itgttrqilx 392 | mkdir nfuwqgclrbukudyml 393 | cd nslxkivgkm 394 | cd 395 | cd .. 396 | mkfile xpmwwrsjchdjktkynnmmt 397 | cd 398 | cd .. 399 | cd 400 | dir 401 | mkfile pvtgyab 402 | cd /bvcvwqoysbctzs 403 | dir 404 | cd 405 | mkdir mkgbypqeqiicyqcmjauzf 406 | cd .. 407 | dir 408 | dir 409 | dir 410 | cd .. 411 | mkfile jsvfbggmhxdapyfccaeg 412 | mkdir fvk 413 | mkfile ktmdurodhtz 414 | cd 415 | mkfile kojxisauubikk 416 | cd 417 | cd 418 | cd /yypibktiktvljlzd 419 | mkfile urvwrgbwmmaylhhhgyrsgt 420 | cd .. 421 | delete ktmdurodhtz 422 | dir 423 | mkfile bzocgku 424 | cd /czejprlumewbfivjvfdkv 425 | dir 426 | cd 427 | cd .. 428 | cd /rxvdlzgjtcszmmwomuzq 429 | mkdir hzwtpqmkxeelqln 430 | cd hzwtpqmkxeelqln 431 | dir 432 | cd 433 | cd 434 | cd 435 | cd 436 | mkfile zxpblt 437 | delete zxpblt 438 | dir 439 | mkfile vlmrwzttqxndueojkpk 440 | mkfile azynsifiwafzlzbcjszylk 441 | mkdir c 442 | cd c 443 | dir 444 | mkfile tqrprnmlxjlbctnyamc 445 | mkfile vvxwvxnuc 446 | dir 447 | dir 448 | cd 449 | mkdir j 450 | cd /rxvdlzgjtcszmmwomuzq/hzwtpqmkxeelqln/c/j 451 | cd .. 452 | mkfile qhoohqczhiddtrqcfejm 453 | cd j 454 | mkfile ddkgbqsbhdlmoxwv 455 | cd .. 456 | mkdir rachebvyslks 457 | mkdir qptlpoeszskaoq 458 | dir 459 | cd /rxvdlzgjtcszmmwomuzq/hzwtpqmkxeelqln/c/rachebvyslks 460 | dir 461 | mkfile wztwcoltwlt 462 | dir 463 | dir 464 | mkdir qpgw 465 | cd .. 466 | mkdir cbuiescfa 467 | cd .. 468 | dir 469 | mkfile epmyrkmrgrqrghwle 470 | mkdir nxjnugbpch 471 | delete epmyrkmrgrqrghwle 472 | cd .. 473 | cd /rxvdlzgjtcszmmwomuzq/hzwtpqmkxeelqln 474 | cd /rxvdlzgjtcszmmwomuzq/hzwtpqmkxeelqln/c 475 | mkdir ygcfmyjo 476 | mkdir jntcwnqykzdsyzldx 477 | mkdir kinxrxnvv 478 | delete tqrprnmlxjlbctnyamc 479 | cd 480 | mkdir lns 481 | cd 482 | mkdir dvpfmatyh 483 | cd dvpfmatyh 484 | mkfile zttxirpzkk 485 | dir 486 | mkdir dchfudoptcwzhyrie 487 | dir 488 | mkdir gtrownaliw 489 | mkfile qnrlwijkbfbdjbojpmfvfb 490 | mkdir salpkbdzgdgdwwvvfhgt 491 | delete zttxirpzkk 492 | dir 493 | cd 494 | cd 495 | delete qnrlwijkbfbdjbojpmfvfb 496 | cd 497 | mkdir lrwueewcxcvagnsum 498 | dir 499 | cd 500 | dir 501 | cd .. 502 | cd .. 503 | cd .. 504 | dir 505 | delete sdmzimzwrnfsjv 506 | mkdir yauedivoragcblyxv 507 | cd 508 | mkdir pzef 509 | cd .. 510 | cd .. 511 | cd /czejprlumewbfivjvfdkv 512 | cd 513 | cd 514 | cd 515 | mkfile egqyequuyixrezaitc 516 | mkfile c 517 | mkdir ydbsvczbqmjodvunjr 518 | dir 519 | mkfile s 520 | cd 521 | mkdir hvtcphembfsow 522 | cd 523 | delete s 524 | cd 525 | delete c 526 | cd 527 | mkdir atabh 528 | cd /czejprlumewbfivjvfdkv/ydbsvczbqmjodvunjr 529 | cd 530 | dir 531 | dir 532 | dir 533 | cd 534 | dir 535 | cd .. 536 | cd 537 | cd .. 538 | cd .. 539 | mkdir bmzsm 540 | cd /czejprlumewbfivjvfdkv 541 | cd .. 542 | cd tnfctazosmvbvuquy 543 | cd .. 544 | delete ootdqterxzrodm 545 | cd jzrfeheovyzteqdwxb 546 | cd .. 547 | cd 548 | cd 549 | mkfile nqilitilqao 550 | delete xbbohft 551 | cd .. 552 | delete jsvfbggmhxdapyfccaeg 553 | cd 554 | cd .. 555 | mkfile kovaplqpgbl 556 | dir 557 | dir 558 | delete fehctamrhbr 559 | cd zzxolqqcwkukgubwdhm 560 | cd .. 561 | cd ztlinifklwga 562 | mkdir jwrfbxsw 563 | dir 564 | mkfile qfrvsqgcfpmh 565 | dir 566 | delete qfrvsqgcfpmh 567 | dir 568 | cd jwrfbxsw 569 | dir 570 | dir 571 | dir 572 | mkdir s 573 | mkfile fvoqr 574 | dir 575 | cd s 576 | mkfile qyf 577 | mkdir pzh 578 | cd 579 | cd pzh 580 | dir 581 | cd 582 | cd 583 | mkfile mdficljayu 584 | delete mdficljayu 585 | cd .. 586 | dir 587 | cd 588 | cd 589 | dir 590 | dir 591 | cd .. 592 | mkdir hcmesmqvhirgukdddpbn 593 | mkfile rfuegyyu 594 | mkdir nojpuadpxfl 595 | cd .. 596 | mkdir w 597 | cd .. 598 | cd weqsdyfrwl 599 | mkfile qkcpfi 600 | delete qkcpfi 601 | cd .. 602 | mkfile heaiqrlvfkiyxlqfipeas 603 | dir 604 | dir 605 | mkdir vgeainivzjvmfwqx 606 | mkdir oxjkjaqgcexp 607 | cd /bmzsm 608 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in3.txt: -------------------------------------------------------------------------------- 1 | cd 2 | cd .. 3 | cd .. 4 | dir 5 | mkdir eymdfzzcdpimmomk 6 | cd 7 | cd .. 8 | mkdir cewbfowgaepoecuqkfpi 9 | cd 10 | dir 11 | mkfile nxpmeqkcujygxvui 12 | mkfile r 13 | mkdir bgbhkznkiyjolvhgw 14 | cd 15 | cd bgbhkznkiyjolvhgw 16 | mkdir tcgrocyrpdwomp 17 | mkfile atpjcstt 18 | cd 19 | cd tcgrocyrpdwomp 20 | cd 21 | cd .. 22 | delete atpjcstt 23 | mkfile iycowkcutz 24 | mkdir tlucktswmufx 25 | cd .. 26 | cd .. 27 | cd 28 | dir 29 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in4.txt: -------------------------------------------------------------------------------- 1 | cd 2 | cd 3 | dir 4 | cd .. 5 | cd 6 | mkdir twoukhugnqfgbl 7 | cd .. 8 | cd 9 | dir 10 | cd .. 11 | cd /twoukhugnqfgbl 12 | cd .. 13 | mkdir scnycqzgdbkagdu 14 | mkdir ljjaek 15 | mkfile roxnsocevdvonn 16 | cd ljjaek 17 | mkfile cgewx 18 | cd 19 | cd 20 | dir 21 | delete cgewx 22 | mkfile tobd 23 | cd 24 | dir 25 | mkfile mhhha 26 | mkdir riw 27 | cd .. 28 | cd 29 | dir 30 | mkfile pyavoueond 31 | mkfile jnvxwbzulddmruwpdewp 32 | cd .. 33 | mkdir qmqwgctbfdivbiz 34 | dir 35 | cd .. 36 | mkfile izvaalf 37 | dir 38 | cd .. 39 | dir 40 | dir 41 | cd /qmqwgctbfdivbiz 42 | cd .. 43 | cd scnycqzgdbkagdu 44 | dir 45 | dir 46 | mkdir rtpbnsfvmengvuqdzlir 47 | dir 48 | cd .. 49 | mkfile txsqkdmuqymmsdkfgyw 50 | mkfile kvi 51 | mkdir sqaxzqyjtzndkgornkmy 52 | cd /qmqwgctbfdivbiz 53 | mkfile czfnzxsqjdwifsrsxd 54 | cd 55 | cd .. 56 | mkdir wzpeibixswm 57 | dir 58 | mkfile zwjsndpaqspsz 59 | dir 60 | delete pyavoueond 61 | cd .. 62 | cd .. 63 | cd /scnycqzgdbkagdu 64 | cd .. 65 | mkfile zqvicjflgmmrgft 66 | cd .. 67 | mkfile timnbgnltxgq 68 | delete txsqkdmuqymmsdkfgyw 69 | cd .. 70 | cd 71 | mkdir amakislmaellzmwqw 72 | mkdir duyxeuojm 73 | cd duyxeuojm 74 | cd .. 75 | dir 76 | delete zwjsndpaqspsz 77 | cd .. 78 | cd .. 79 | cd .. 80 | mkdir upxnjpywhg 81 | delete kvi 82 | mkdir cefgwhfemibqfeuwubwkg 83 | mkdir pvkplftxnbigtkbeess 84 | delete zqvicjflgmmrgft 85 | dir 86 | cd .. 87 | cd .. 88 | mkdir xroprirpaspmcalrfuba 89 | cd /duyxeuojm 90 | dir 91 | dir 92 | dir 93 | cd .. 94 | mkdir p 95 | dir 96 | mkfile ndfdolhgfiqbwspuapo 97 | cd .. 98 | delete roxnsocevdvonn 99 | cd .. 100 | mkfile msbghwpsxq 101 | mkdir dfqrcrdthoynrld 102 | mkdir yzujqkbfomsbbb 103 | cd .. 104 | dir 105 | delete ndfdolhgfiqbwspuapo 106 | cd /yzujqkbfomsbbb 107 | dir 108 | mkdir wj 109 | cd /yzujqkbfomsbbb/wj 110 | mkfile da 111 | cd .. 112 | mkfile qcwbnjx 113 | dir 114 | dir 115 | cd /yzujqkbfomsbbb/wj 116 | cd .. 117 | cd wj 118 | cd .. 119 | cd .. 120 | cd 121 | dir 122 | cd /upxnjpywhg 123 | cd .. 124 | cd wzpeibixswm 125 | mkdir vbmmvutubktsh 126 | mkdir lokdls 127 | cd 128 | cd .. 129 | cd 130 | cd /cefgwhfemibqfeuwubwkg 131 | dir 132 | mkdir gmcyloojj 133 | cd /cefgwhfemibqfeuwubwkg/gmcyloojj 134 | mkdir wskvztaceslbaam 135 | mkdir qm 136 | cd .. 137 | mkdir mdtdzyqka 138 | mkfile lg 139 | cd 140 | delete lg 141 | mkdir vwugcxim 142 | mkfile kxu 143 | mkfile hxuirnjbdompslxackh 144 | dir 145 | delete kxu 146 | dir 147 | delete hxuirnjbdompslxackh 148 | mkfile iolgpqpudzndzb 149 | mkfile ppgccxyyvqbczembwnfms 150 | cd 151 | cd .. 152 | cd /twoukhugnqfgbl 153 | mkfile qakro 154 | delete qakro 155 | dir 156 | mkfile dfkdphyng 157 | cd 158 | dir 159 | cd .. 160 | cd 161 | cd 162 | cd 163 | mkfile yxapzcd 164 | mkfile qzrqvnethxenmkybl 165 | cd /duyxeuojm 166 | mkfile wlslxgrpauzkzpwn 167 | mkdir onygowdervmbrx 168 | mkfile filklhajhukca 169 | dir 170 | mkdir faqqv 171 | dir 172 | cd /duyxeuojm/faqqv 173 | dir 174 | cd 175 | cd .. 176 | mkfile acmtellcviortpmrgnu 177 | cd 178 | dir 179 | mkdir talqagqzjd 180 | cd /duyxeuojm/onygowdervmbrx 181 | mkdir ihfcxqira 182 | dir 183 | mkdir c 184 | mkfile evkurpbg 185 | mkfile nfvnyfsw 186 | mkdir vjfcqimwgtyamxtryymvkx 187 | delete evkurpbg 188 | mkfile aveqdcdyjbwleizfchq 189 | cd .. 190 | mkfile zl 191 | cd 192 | mkdir njolvennkbukebaa 193 | cd 194 | mkdir ybzeyxevtt 195 | cd .. 196 | cd /amakislmaellzmwqw 197 | cd .. 198 | delete msbghwpsxq 199 | mkfile betmxtiaxljzlcogplpse 200 | mkfile l 201 | cd .. 202 | mkfile ucwkrsvt 203 | dir 204 | mkfile ejvfoozggfgo 205 | cd .. 206 | cd 207 | dir 208 | mkdir izzgeklbd 209 | mkfile ofdg 210 | cd 211 | cd /pvkplftxnbigtkbeess 212 | mkfile nqaopoo 213 | dir 214 | mkfile ubffzxlvumzapem 215 | cd 216 | mkdir xyzxgzmtgpikchtvndoszs 217 | delete nqaopoo 218 | mkdir kabnbrtflibjbikcefx 219 | cd xyzxgzmtgpikchtvndoszs 220 | cd .. 221 | cd xyzxgzmtgpikchtvndoszs 222 | dir 223 | dir 224 | cd .. 225 | cd kabnbrtflibjbikcefx 226 | mkdir dqqitua 227 | dir 228 | mkfile twhlclimdqexvclj 229 | dir 230 | cd .. 231 | dir 232 | mkfile hqjrtnfunokzofevryiqpu 233 | cd kabnbrtflibjbikcefx 234 | mkfile qpovtvqmyebkl 235 | dir 236 | mkdir qlr 237 | cd 238 | mkfile qdseteovidcbkeubtgb 239 | mkfile fzyekljaxteubtkbn 240 | dir 241 | delete qdseteovidcbkeubtgb 242 | cd 243 | delete qpovtvqmyebkl 244 | delete twhlclimdqexvclj 245 | dir 246 | mkfile souvuxfsmrbvg 247 | cd .. 248 | cd .. 249 | cd .. 250 | mkfile jvrehzijwepo 251 | dir 252 | dir 253 | cd /wzpeibixswm 254 | cd .. 255 | cd 256 | cd 257 | cd 258 | cd .. 259 | dir 260 | mkfile yrnpjefrktwxknnkfq 261 | delete ofdg 262 | delete yxapzcd 263 | mkfile zmlwmkztawlylp 264 | delete l 265 | mkfile jdxzemi 266 | dir 267 | cd 268 | cd /xroprirpaspmcalrfuba 269 | mkdir fxgumjrpyvhc 270 | mkfile osloxhc 271 | mkdir ikxkqtaulgabwxsodtjga 272 | cd .. 273 | dir 274 | cd 275 | cd /amakislmaellzmwqw 276 | mkfile qgdwnsuz 277 | mkfile nnphocsemaeowyawt 278 | cd 279 | delete nnphocsemaeowyawt 280 | mkdir mosdgm 281 | cd .. 282 | cd 283 | cd .. 284 | cd yzujqkbfomsbbb 285 | cd wj 286 | cd 287 | mkdir stcbgdyza 288 | dir 289 | mkdir ppswtlbqhg 290 | cd .. 291 | cd 292 | cd .. 293 | mkfile mwuvndhyq 294 | cd 295 | cd 296 | cd duyxeuojm 297 | mkdir sgfeakifbcmllgqbqgszuj 298 | dir 299 | delete acmtellcviortpmrgnu 300 | mkfile lvndgrrtgqtkii 301 | cd 302 | dir 303 | mkdir crxofhihuhxxenhlzpr 304 | mkdir avhvostwmuokoudw 305 | mkdir kcisevkqelipphbceyoi 306 | mkdir i 307 | cd faqqv 308 | mkfile hgyxpcoscj 309 | cd 310 | cd 311 | mkdir pzmkvovweuzue 312 | delete hgyxpcoscj 313 | mkfile euwgynrpsdmwsiaxc 314 | mkdir pvsnudbgohkuc 315 | delete euwgynrpsdmwsiaxc 316 | mkdir wtgmnmvnnrwbtftrcpnot 317 | dir 318 | cd 319 | cd 320 | cd wtgmnmvnnrwbtftrcpnot 321 | mkdir tlfittykqaxymjn 322 | mkfile tirlxqewhoqhytzuujdmb 323 | cd 324 | mkfile mkdbnsmjwtbcjxsvcdujyy 325 | mkdir adryktruwbh 326 | cd 327 | cd 328 | cd 329 | mkdir cteljgajfxmcrll 330 | cd .. 331 | dir 332 | cd 333 | cd .. 334 | mkdir vhmecwbhshnkg 335 | mkdir kblmngsktzbgwjgbnodlv 336 | delete filklhajhukca 337 | cd 338 | dir 339 | dir 340 | dir 341 | cd 342 | mkdir jtdz 343 | delete wlslxgrpauzkzpwn 344 | mkdir iemir 345 | dir 346 | cd faqqv 347 | cd 348 | cd 349 | cd wtgmnmvnnrwbtftrcpnot 350 | cd /duyxeuojm/faqqv/wtgmnmvnnrwbtftrcpnot/tlfittykqaxymjn 351 | cd .. 352 | cd /duyxeuojm/faqqv/wtgmnmvnnrwbtftrcpnot/tlfittykqaxymjn 353 | mkdir hqknqwowqamz 354 | mkfile vcgocvtlvpeccfdgwura 355 | dir 356 | cd .. 357 | cd tlfittykqaxymjn 358 | mkfile raobok 359 | dir 360 | cd hqknqwowqamz 361 | mkfile ngd 362 | cd 363 | mkdir agrncx 364 | cd .. 365 | cd .. 366 | mkdir ulhbqlhjicqosdcvesvdz 367 | dir 368 | cd .. 369 | dir 370 | mkfile ohwlmanvhivzxqb 371 | dir 372 | mkfile wtgsxoz 373 | mkdir xa 374 | mkfile cdnsjplgp 375 | cd /duyxeuojm/faqqv/pvsnudbgohkuc 376 | mkfile konodmidteuibwjqe 377 | mkfile vwmyvyggc 378 | cd .. 379 | cd .. 380 | mkdir kzxgnejajhgopk 381 | cd .. 382 | mkfile brs 383 | cd /sqaxzqyjtzndkgornkmy 384 | dir 385 | cd 386 | cd .. 387 | mkdir lmgtjgtpeucp 388 | mkfile coeiibicyoa 389 | delete ejvfoozggfgo 390 | mkfile ivpzpdvlezbreeuhq 391 | cd /wzpeibixswm 392 | cd 393 | mkfile sjoowkyvctgde 394 | dir 395 | cd 396 | mkdir scqhoesoewqbbldco 397 | mkdir jhfikpfxfn 398 | mkfile el 399 | cd .. 400 | cd .. 401 | cd 402 | dir 403 | mkdir hob 404 | dir 405 | cd 406 | delete ucwkrsvt 407 | dir 408 | mkdir ujbhbqcxxwmeypiwwwxjtp 409 | cd upxnjpywhg 410 | dir 411 | cd .. 412 | cd 413 | cd 414 | delete izvaalf 415 | delete jvrehzijwepo 416 | cd /dfqrcrdthoynrld 417 | mkfile fhnuhhtnxvovcaba 418 | mkfile shcvfymgmj 419 | cd 420 | cd 421 | mkfile vz 422 | cd .. 423 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in5.txt: -------------------------------------------------------------------------------- 1 | cd 2 | dir 3 | mkfile xafimpkbvnammw 4 | delete xafimpkbvnammw 5 | cd .. 6 | mkdir wbfhhduiyzcjdawdbgxl 7 | cd .. 8 | cd .. 9 | dir 10 | cd 11 | mkdir hcvrglavo 12 | dir 13 | dir 14 | cd 15 | dir 16 | cd hcvrglavo 17 | cd .. 18 | cd 19 | dir 20 | dir 21 | dir 22 | cd wbfhhduiyzcjdawdbgxl 23 | mkfile cvgfbxiafsylqepv 24 | mkdir sgaoqpmcuheopmcbdvls 25 | cd /wbfhhduiyzcjdawdbgxl/sgaoqpmcuheopmcbdvls 26 | cd 27 | dir 28 | dir 29 | mkdir cymtx 30 | cd cymtx 31 | mkdir tgrsiddarsucdudg 32 | cd 33 | mkdir tkqoaxjoqjwb 34 | mkdir tdbbpqdmqwvvtsmgpjhes 35 | cd /wbfhhduiyzcjdawdbgxl/sgaoqpmcuheopmcbdvls/cymtx/tkqoaxjoqjwb 36 | cd .. 37 | mkdir xcjrajvjmgzis 38 | mkdir ozkr 39 | cd ozkr 40 | mkdir lzbamlliinzcooiplo 41 | mkdir tv 42 | cd /wbfhhduiyzcjdawdbgxl/sgaoqpmcuheopmcbdvls/cymtx/ozkr/lzbamlliinzcooiplo 43 | dir 44 | mkfile wkldawy 45 | cd 46 | mkdir zvekjlxc 47 | cd .. 48 | cd 49 | mkfile fmqcofbmyi 50 | mkdir tbewgvdnmecoukxmgxjw 51 | cd /wbfhhduiyzcjdawdbgxl/sgaoqpmcuheopmcbdvls/cymtx/ozkr/tbewgvdnmecoukxmgxjw 52 | cd .. 53 | mkdir rsefigzrxoopqrkx 54 | cd .. 55 | dir 56 | mkdir vtrfibnhtjyholbjyutxm 57 | mkdir gxrhgsffffkajbpiqzn 58 | cd xcjrajvjmgzis 59 | cd .. 60 | cd .. 61 | cd .. 62 | mkfile immfnxdtyqxiqzzuu 63 | cd sgaoqpmcuheopmcbdvls 64 | mkdir fyentjjrywdm 65 | mkfile uxoyeshrtchhbco 66 | mkdir cs 67 | mkfile ctlfxnqsnnrcqvc 68 | cd 69 | delete ctlfxnqsnnrcqvc 70 | mkfile erwcekvk 71 | cd .. 72 | dir 73 | mkfile rlk 74 | mkfile cspamsopr 75 | dir 76 | cd /wbfhhduiyzcjdawdbgxl/sgaoqpmcuheopmcbdvls 77 | cd 78 | dir 79 | cd .. 80 | cd .. 81 | cd 82 | cd hcvrglavo 83 | cd .. 84 | dir 85 | mkdir dwgpyqfbqjdpqptfjmpyzf 86 | mkfile setohmepsai 87 | cd wbfhhduiyzcjdawdbgxl 88 | cd /wbfhhduiyzcjdawdbgxl/sgaoqpmcuheopmcbdvls 89 | cd cs 90 | mkfile eorxehnqqvccc 91 | mkdir woglflcqzwf 92 | cd woglflcqzwf 93 | cd .. 94 | dir 95 | cd .. 96 | cd 97 | mkdir kwqaxulgelhykxr 98 | cd 99 | cd .. 100 | cd .. 101 | cd 102 | mkdir tsqzxzxiutezhrwygs 103 | mkfile xwmcvrlkukwvcpavjx 104 | mkdir bdztevxq 105 | cd .. 106 | cd 107 | dir 108 | cd .. 109 | cd wbfhhduiyzcjdawdbgxl 110 | cd sgaoqpmcuheopmcbdvls 111 | mkfile zxootqztjaodsqza 112 | cd .. 113 | mkdir iospbmrpgvvmpfzrmz 114 | mkfile fccjrgdhzxbpnh 115 | delete immfnxdtyqxiqzzuu 116 | cd .. 117 | mkfile gfgrnvknjfbhpewr 118 | mkdir yxhidygshhnkbrcgqx 119 | dir 120 | mkfile tjqoxk 121 | delete tjqoxk 122 | cd .. 123 | dir 124 | mkfile ex 125 | cd .. 126 | mkdir rdanpahf 127 | mkfile mngdthcbvt 128 | cd rdanpahf 129 | cd .. 130 | cd .. 131 | cd .. 132 | delete xwmcvrlkukwvcpavjx 133 | delete mngdthcbvt 134 | cd 135 | cd /rdanpahf 136 | cd 137 | dir 138 | mkdir tazzqdhpysbhmtpbede 139 | cd 140 | dir 141 | mkfile edjmhxj 142 | dir 143 | dir 144 | cd .. 145 | mkdir kxclcrmlhofwpzbmqgp 146 | cd 147 | cd dwgpyqfbqjdpqptfjmpyzf 148 | mkdir hlvwgxitrozbmdeyj 149 | cd 150 | cd .. 151 | cd 152 | cd .. 153 | dir 154 | cd 155 | cd hcvrglavo 156 | dir 157 | dir 158 | cd 159 | dir 160 | cd .. 161 | cd 162 | mkdir tzjsbh 163 | cd /yxhidygshhnkbrcgqx 164 | cd 165 | cd 166 | dir 167 | mkfile b 168 | dir 169 | cd .. 170 | mkfile glb 171 | mkfile dhpgwxprjzfyekqfw 172 | cd /kxclcrmlhofwpzbmqgp 173 | cd .. 174 | mkfile rhkvhzykbgsqehesqcd 175 | dir 176 | cd .. 177 | delete gfgrnvknjfbhpewr 178 | cd .. 179 | cd .. 180 | mkdir d 181 | mkfile eqxjcxz 182 | cd /yxhidygshhnkbrcgqx 183 | dir 184 | delete b 185 | mkdir bdzf 186 | dir 187 | dir 188 | mkdir pkuymhegljfcfyxocdx 189 | cd 190 | mkdir dpexhujt 191 | cd .. 192 | mkfile xue 193 | delete ex 194 | mkfile muckionrr 195 | mkfile c 196 | cd 197 | cd 198 | mkfile m 199 | mkdir ychut 200 | delete setohmepsai 201 | cd .. 202 | cd .. 203 | cd .. 204 | mkdir kuonaboll 205 | mkdir fovnufazccrd 206 | cd .. 207 | cd 208 | cd 209 | mkfile ndemhhquwsbsbbd 210 | dir 211 | cd 212 | cd .. 213 | cd tsqzxzxiutezhrwygs 214 | cd .. 215 | delete muckionrr 216 | cd .. 217 | cd .. 218 | dir 219 | cd .. 220 | mkdir rnphrrhnqdjl 221 | cd .. 222 | cd rdanpahf 223 | delete edjmhxj 224 | cd /rdanpahf/tazzqdhpysbhmtpbede 225 | mkfile zcrgycuirtxljhknr 226 | cd .. 227 | cd tazzqdhpysbhmtpbede 228 | cd 229 | cd 230 | delete zcrgycuirtxljhknr 231 | dir 232 | mkfile neunhlhvq 233 | dir 234 | mkfile hccrvyuj 235 | cd 236 | cd 237 | cd 238 | cd .. 239 | mkfile fgqvqjzjlvtajvfe 240 | cd /rdanpahf/tazzqdhpysbhmtpbede 241 | mkdir u 242 | mkfile zxke 243 | delete hccrvyuj 244 | delete neunhlhvq 245 | cd .. 246 | cd 247 | dir 248 | cd /rdanpahf/tazzqdhpysbhmtpbede 249 | cd /rdanpahf/tazzqdhpysbhmtpbede/u 250 | cd 251 | cd .. 252 | dir 253 | cd .. 254 | delete fgqvqjzjlvtajvfe 255 | cd 256 | cd 257 | cd /rdanpahf/tazzqdhpysbhmtpbede 258 | mkfile pzpq 259 | delete pzpq 260 | mkfile xoaoguekgc 261 | mkfile lkciwuhuv 262 | cd 263 | mkfile zkhhvmcgxrfkcqmaeyz 264 | delete lkciwuhuv 265 | cd /rdanpahf/tazzqdhpysbhmtpbede/u 266 | dir 267 | cd .. 268 | dir 269 | cd /rdanpahf/tazzqdhpysbhmtpbede/u 270 | cd .. 271 | mkdir wipgyeicnczomasafgniwo 272 | cd .. 273 | dir 274 | cd .. 275 | cd 276 | cd 277 | dir 278 | cd .. 279 | cd .. 280 | delete dhpgwxprjzfyekqfw 281 | cd .. 282 | cd /rdanpahf 283 | cd .. 284 | mkdir y 285 | dir 286 | dir 287 | delete m 288 | delete rhkvhzykbgsqehesqcd 289 | cd ychut 290 | dir 291 | cd 292 | cd .. 293 | cd 294 | delete xue 295 | dir 296 | dir 297 | mkfile ztqx 298 | dir 299 | mkfile smjysrjxibwxihpilt 300 | cd .. 301 | dir 302 | mkdir ptczqaqiyllxkfoxrz 303 | cd .. 304 | cd .. 305 | mkfile iswqqxqllarredr 306 | mkdir xdanznkz 307 | cd .. 308 | mkfile nxvc 309 | mkfile fmponwrktygne 310 | cd .. 311 | mkdir hffjifdadbtqdicxit 312 | dir 313 | cd 314 | cd rdanpahf 315 | dir 316 | mkdir cksztkukoq 317 | cd .. 318 | dir 319 | cd .. 320 | mkfile yzlxl 321 | mkdir oylb 322 | cd .. 323 | delete c 324 | cd /hffjifdadbtqdicxit 325 | dir 326 | dir 327 | cd .. 328 | cd /fovnufazccrd 329 | cd 330 | mkdir speftlpgojjgcqvqs 331 | dir 332 | mkfile priktitsurzd 333 | mkfile jiogehwmmstfecepsxx 334 | mkfile mogmfxcxklpdhtoyzl 335 | cd /fovnufazccrd/speftlpgojjgcqvqs 336 | mkdir czsze 337 | cd .. 338 | mkfile cyfzq 339 | mkdir odakycfsawjnjrlbkqi 340 | dir 341 | mkdir vnnhkquiwjjqkyuqizm 342 | cd speftlpgojjgcqvqs 343 | cd .. 344 | cd .. 345 | mkfile dezvtjuwullhnhqdomilv 346 | cd 347 | dir 348 | mkdir swuqhu 349 | dir 350 | mkfile tsdgyoufqjycyqtpzfd 351 | dir 352 | mkdir icfqd 353 | dir 354 | cd .. 355 | cd 356 | cd 357 | cd ychut 358 | dir 359 | cd .. 360 | cd tzjsbh 361 | mkdir fdkgmhfpvnrez 362 | dir 363 | cd fdkgmhfpvnrez 364 | cd .. 365 | mkdir f 366 | cd .. 367 | cd .. 368 | cd 369 | cd .. 370 | mkdir pbry 371 | mkfile s 372 | dir 373 | dir 374 | cd .. 375 | mkfile qbgrgcnpwprqtqutbqa 376 | mkdir vdoorbnhuwsbdwi 377 | cd rdanpahf 378 | cd /rdanpahf/cksztkukoq 379 | cd .. 380 | dir 381 | cd .. 382 | delete qbgrgcnpwprqtqutbqa 383 | cd .. 384 | cd /xdanznkz 385 | dir 386 | cd .. 387 | dir 388 | cd .. 389 | cd 390 | mkdir jtepg 391 | mkfile p 392 | cd .. 393 | dir 394 | dir 395 | cd rdanpahf 396 | cd .. 397 | delete tsdgyoufqjycyqtpzfd 398 | cd 399 | cd .. 400 | cd 401 | cd /kxclcrmlhofwpzbmqgp 402 | mkfile jhjuc 403 | dir 404 | cd .. 405 | mkdir hrphfrvy 406 | cd 407 | cd jtepg 408 | cd .. 409 | delete fmponwrktygne 410 | cd /yxhidygshhnkbrcgqx 411 | mkfile bsnfownfdlwgjichckuh 412 | mkfile brlgkjnbr 413 | mkdir zpikkepanxzhrqoh 414 | cd .. 415 | cd ptczqaqiyllxkfoxrz 416 | dir 417 | dir 418 | cd 419 | dir 420 | cd .. 421 | cd y 422 | mkfile ytvralwnmlvhyuvldi 423 | cd .. 424 | mkfile j 425 | mkdir locccwmigryrnptje 426 | dir 427 | cd 428 | delete ztqx 429 | dir 430 | cd /tsqzxzxiutezhrwygs 431 | mkfile urnmutujjcznnbr 432 | mkdir guypmqfrmlysct 433 | mkfile pusshvuzzore 434 | cd 435 | mkfile guzzsaxdzfaon 436 | cd .. 437 | mkfile mvtkmyw 438 | cd 439 | cd 440 | delete p 441 | cd /ptczqaqiyllxkfoxrz 442 | cd .. 443 | delete ndemhhquwsbsbbd 444 | cd 445 | mkfile rsserpuo 446 | mkfile utawydjnzizzxvcgniutv 447 | dir 448 | mkdir wtvsvsrfd 449 | dir 450 | mkfile yihrjoccedimnrw 451 | mkfile jjvzom 452 | mkfile ewhxivz 453 | mkfile jplwwsyyjjbplgnstuo 454 | cd .. 455 | cd 456 | dir 457 | cd .. 458 | cd 459 | cd .. 460 | mkdir ncnthtrngwtgfzpiayr 461 | cd .. 462 | dir 463 | cd /vdoorbnhuwsbdwi 464 | mkdir ydujnf 465 | cd .. 466 | mkdir w 467 | mkfile ftbth 468 | cd /swuqhu 469 | cd 470 | cd .. 471 | cd 472 | dir 473 | cd hcvrglavo 474 | mkdir rkdizqjf 475 | cd .. 476 | cd .. 477 | mkfile pegxvtfbsaovjh 478 | dir 479 | mkfile hzbegnanbadkucoqs 480 | cd /tsqzxzxiutezhrwygs 481 | dir 482 | dir 483 | mkfile rjktzxreke 484 | cd 485 | mkfile qjfihgdsgruvl 486 | cd /tsqzxzxiutezhrwygs/guypmqfrmlysct 487 | mkdir xljzwfj 488 | mkfile unfxvcmvekswjvxtjm 489 | mkdir svq 490 | dir 491 | cd /tsqzxzxiutezhrwygs/guypmqfrmlysct/xljzwfj 492 | cd 493 | mkdir dwnarbutggprsu 494 | mkdir bojznjxwdtfz 495 | cd /tsqzxzxiutezhrwygs/guypmqfrmlysct/xljzwfj/bojznjxwdtfz 496 | mkdir ld 497 | cd 498 | cd /tsqzxzxiutezhrwygs/guypmqfrmlysct/xljzwfj/bojznjxwdtfz/ld 499 | dir 500 | mkdir zqewrlykjuividvc 501 | mkdir fvghqxzmtbrkf 502 | cd .. 503 | mkfile tezwoidvgiapym 504 | cd ld 505 | cd /tsqzxzxiutezhrwygs/guypmqfrmlysct/xljzwfj/bojznjxwdtfz/ld/fvghqxzmtbrkf 506 | mkdir rboxck 507 | mkdir slxcwdopwrkyt 508 | mkfile wemlqao 509 | cd 510 | mkdir oarrdhrbgmolycsjuhj 511 | cd slxcwdopwrkyt 512 | mkdir isvgrrtgb 513 | cd isvgrrtgb 514 | cd 515 | mkdir u 516 | dir 517 | cd 518 | mkfile llwjhlbrjfdkdgyzomf 519 | dir 520 | cd 521 | dir 522 | cd 523 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in6.txt: -------------------------------------------------------------------------------- 1 | mkfile wcp 2 | dir 3 | cd 4 | cd 5 | mkfile es 6 | cd .. 7 | cd 8 | mkfile pa 9 | cd 10 | mkdir jrsqqqrroukep 11 | dir 12 | mkdir vcyjyrvilppdbfzz 13 | cd jrsqqqrroukep 14 | dir 15 | mkdir wjnnoumahqdj 16 | mkfile oabl 17 | dir 18 | cd .. 19 | cd /jrsqqqrroukep 20 | mkdir jelkcnwalfdso 21 | cd /jrsqqqrroukep/jelkcnwalfdso 22 | dir 23 | cd 24 | mkdir onnrnlfiokyicxcnp 25 | dir 26 | mkfile pjflnemrev 27 | mkfile xsfiy 28 | mkfile mz 29 | cd .. 30 | cd .. 31 | cd 32 | cd .. 33 | dir 34 | cd 35 | cd 36 | mkdir ahvuuyzfk 37 | cd .. 38 | cd 39 | mkfile dwjqqeezrg 40 | cd 41 | mkdir uniksuqmxujwjmnnob 42 | mkdir x 43 | cd ahvuuyzfk 44 | cd .. 45 | mkdir fvyxhmnhpgqy 46 | delete dwjqqeezrg 47 | cd .. 48 | cd 49 | cd fvyxhmnhpgqy 50 | dir 51 | mkfile ovmzblvmbd 52 | mkfile zdptjkwnlyo 53 | cd .. 54 | cd jrsqqqrroukep 55 | dir 56 | delete oabl 57 | dir 58 | mkfile cbnzbe 59 | mkfile skgg 60 | mkfile edsvsenzltzwb 61 | mkfile ox 62 | dir 63 | mkfile t 64 | cd .. 65 | cd .. 66 | cd x 67 | cd .. 68 | cd /fvyxhmnhpgqy 69 | dir 70 | save ijtbaemt.tmp 71 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in8.txt: -------------------------------------------------------------------------------- 1 | cd .. 2 | cd .. 3 | cd .. 4 | cd .. 5 | cd 6 | cd .. 7 | cd 8 | cd .. 9 | mkfile t 10 | dir 11 | cd .. 12 | mkdir aknu 13 | cd .. 14 | cd .. 15 | dir 16 | cd .. 17 | delete t 18 | cd aknu 19 | dir 20 | mkdir bulonpk 21 | dir 22 | cd .. 23 | mkdir gyhrwbseuuvgpdtve 24 | dir 25 | cd 26 | dir 27 | cd aknu 28 | cd .. 29 | cd 30 | mkfile klxeyzgnygvhdjckjgygc 31 | mkdir gxwxxkgjptuevkdyybrbrv 32 | mkfile flhifizcod 33 | cd 34 | cd .. 35 | mkfile nood 36 | cd 37 | mkfile iaexhnfwrtngvfvopze 38 | cd 39 | mkdir kzh 40 | cd /gyhrwbseuuvgpdtve 41 | mkdir je 42 | dir 43 | cd .. 44 | cd 45 | cd .. 46 | cd 47 | cd .. 48 | cd /aknu 49 | mkdir lgmmrlwljbhnkrvfhc 50 | mkfile itkhstaltmaxudrlqbqyz 51 | cd /aknu/lgmmrlwljbhnkrvfhc 52 | cd 53 | mkdir ecymsqlprktsf 54 | mkdir kifuhu 55 | cd .. 56 | mkfile xavcnfzeywwezckvt 57 | cd 58 | mkdir ejihzxlvlcfrc 59 | dir 60 | mkfile ecygabvielfile 61 | dir 62 | mkfile gqplrexxtjjctlxouhdf 63 | delete xavcnfzeywwezckvt 64 | cd 65 | cd 66 | dir 67 | cd 68 | delete gqplrexxtjjctlxouhdf 69 | cd /aknu/bulonpk 70 | mkdir ts 71 | mkdir yxlfyrkrsmdddwncfnjurw 72 | cd .. 73 | dir 74 | cd ejihzxlvlcfrc 75 | mkfile totlpzkdzbsxh 76 | mkdir ctkhhuha 77 | mkdir rmwbwmvovapmkg 78 | cd 79 | cd .. 80 | dir 81 | cd bulonpk 82 | cd ts 83 | mkfile xrnpyl 84 | dir 85 | cd .. 86 | cd /aknu/bulonpk/yxlfyrkrsmdddwncfnjurw 87 | mkdir ccaeissnxhxpwbdqbcf 88 | dir 89 | dir 90 | cd 91 | cd 92 | dir 93 | dir 94 | cd 95 | mkdir nqc 96 | mkdir btowjcv 97 | mkfile iqxzwlfxbdedhwjsqbrn 98 | mkfile jntfyzeprqieoayfphgst 99 | delete jntfyzeprqieoayfphgst 100 | mkfile egjzgrlskaq 101 | mkdir efujjtoaop 102 | delete iqxzwlfxbdedhwjsqbrn 103 | cd .. 104 | dir 105 | mkfile osogxuvth 106 | mkfile afwqchfdx 107 | dir 108 | dir 109 | cd 110 | mkdir alfzwailtuybdrozgnzxuj 111 | cd /aknu/bulonpk/ts 112 | mkdir befzezqkjgek 113 | cd /aknu/bulonpk/ts/befzezqkjgek 114 | mkdir cphsyrempbcihzokgpxcn 115 | mkfile saohn 116 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn 117 | dir 118 | cd 119 | dir 120 | dir 121 | mkfile ouphssfbkaockpbdjkouns 122 | delete ouphssfbkaockpbdjkouns 123 | cd 124 | mkfile nmrlrwmoykutmgrbrmwpvt 125 | cd 126 | mkdir nyovmkgteqvjmtm 127 | cd nyovmkgteqvjmtm 128 | mkfile wtdcphodyyzyfidlbpoyo 129 | dir 130 | delete wtdcphodyyzyfidlbpoyo 131 | cd .. 132 | cd .. 133 | cd 134 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn 135 | mkdir bgcvhsybkipnq 136 | cd 137 | mkfile jyn 138 | cd .. 139 | dir 140 | mkdir xs 141 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn 142 | mkfile njpntkprq 143 | cd nyovmkgteqvjmtm 144 | mkdir wsskvhaqarl 145 | cd 146 | dir 147 | cd .. 148 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/bgcvhsybkipnq 149 | mkdir eeygnmnnngztujt 150 | cd eeygnmnnngztujt 151 | cd .. 152 | mkfile mecfvgcsbqfvfyo 153 | cd .. 154 | cd nyovmkgteqvjmtm 155 | mkfile svwx 156 | delete svwx 157 | dir 158 | dir 159 | cd .. 160 | mkdir gqlvyrtwswxudf 161 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm 162 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl 163 | mkdir nnjjtgtfdcm 164 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/nnjjtgtfdcm 165 | cd 166 | dir 167 | mkdir krmtsbuud 168 | cd .. 169 | mkdir wnaffprv 170 | mkfile vduiuecbsygwaujyaeoj 171 | mkfile pl 172 | cd 173 | cd 174 | mkdir qhgafwt 175 | mkdir hqttfuko 176 | dir 177 | mkdir ib 178 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/wnaffprv 179 | dir 180 | cd 181 | cd .. 182 | dir 183 | mkdir goymwxikhccf 184 | mkfile nafbqsdpgysxekaigwgq 185 | mkdir sh 186 | delete vduiuecbsygwaujyaeoj 187 | mkfile bqtfvtowv 188 | mkfile syhvhcikxbedwagcrdna 189 | mkfile vgslyxpzmbacvbqeuq 190 | mkdir fovaeimvydc 191 | mkfile bricddolhuyaxp 192 | cd hqttfuko 193 | cd 194 | mkfile iieuwmf 195 | delete iieuwmf 196 | mkfile eqa 197 | cd .. 198 | mkdir ttvuod 199 | cd nnjjtgtfdcm 200 | mkfile mfebwatwwwh 201 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/nnjjtgtfdcm/krmtsbuud 202 | cd .. 203 | delete mfebwatwwwh 204 | cd krmtsbuud 205 | mkdir pqbfb 206 | cd 207 | cd .. 208 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/nnjjtgtfdcm/krmtsbuud 209 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/nnjjtgtfdcm/krmtsbuud/pqbfb 210 | cd 211 | cd 212 | cd 213 | dir 214 | cd 215 | mkfile jcsdo 216 | dir 217 | mkdir o 218 | delete jcsdo 219 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/nnjjtgtfdcm/krmtsbuud/pqbfb/o 220 | cd .. 221 | cd 222 | dir 223 | cd o 224 | mkfile ucsetgtkpgqfvqdyzfk 225 | cd .. 226 | mkdir xxhmexahxkdxnmsokq 227 | mkdir bxy 228 | cd .. 229 | dir 230 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/nnjjtgtfdcm/krmtsbuud/pqbfb 231 | mkdir tmfpvulau 232 | mkfile zam 233 | delete zam 234 | cd bxy 235 | mkfile sdfvnkdgdyjlrtedxca 236 | dir 237 | dir 238 | mkdir om 239 | cd om 240 | mkfile yqflq 241 | cd 242 | mkfile nvoglazrospqedggovbib 243 | delete yqflq 244 | dir 245 | cd .. 246 | mkdir tgvipwaughwuafegalny 247 | mkdir kquoxedtfa 248 | cd .. 249 | dir 250 | cd .. 251 | cd 252 | mkfile gmbsmjqhplhv 253 | cd .. 254 | cd 255 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl/nnjjtgtfdcm/krmtsbuud 256 | mkfile kkfyhscfsvmgiqlm 257 | cd .. 258 | mkdir fqlgugy 259 | mkdir zy 260 | cd .. 261 | cd goymwxikhccf 262 | cd 263 | mkdir lwupqxxqtsbpy 264 | mkdir tw 265 | mkfile yujuxqrtqbayqflrijai 266 | cd .. 267 | mkdir bfk 268 | mkdir imbdheyvzyjbktpsvlw 269 | cd nnjjtgtfdcm 270 | cd 271 | dir 272 | mkfile oqnuezikrlyklzhjm 273 | mkdir mbsboxevwvotkqd 274 | mkfile wmfaqpmkpgzbmxvcnnki 275 | mkdir ezpgztojuxiechevc 276 | dir 277 | cd 278 | cd .. 279 | cd 280 | cd 281 | cd .. 282 | mkfile cjzwi 283 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/wsskvhaqarl 284 | cd .. 285 | dir 286 | mkdir iveenmqcufoa 287 | dir 288 | dir 289 | dir 290 | mkfile par 291 | mkdir bemdhletknqol 292 | mkfile ktk 293 | cd bemdhletknqol 294 | dir 295 | cd .. 296 | mkdir v 297 | dir 298 | mkfile vluvyndsziaz 299 | mkfile ljeftngjdjjdkif 300 | delete ktk 301 | cd /aknu/bulonpk/ts/befzezqkjgek/cphsyrempbcihzokgpxcn/nyovmkgteqvjmtm/bemdhletknqol 302 | dir 303 | mkfile b 304 | mkdir aydiyrzifv 305 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/in9.txt: -------------------------------------------------------------------------------- 1 | dir 2 | mkfile tek 3 | dir 4 | mkdir upqea 5 | cd 6 | cd 7 | delete tek 8 | dir 9 | cd .. 10 | mkfile mzcb 11 | delete mzcb 12 | dir 13 | cd .. 14 | cd 15 | mkfile ymkoatwkllg 16 | cd .. 17 | dir 18 | cd 19 | mkfile mdbmwfap 20 | cd upqea 21 | cd .. 22 | mkfile vdkvrgvysuoxsid 23 | cd .. 24 | cd 25 | mkdir dnhiv 26 | delete ymkoatwkllg 27 | mkdir pvlcoslpzgcncqjkwj 28 | dir 29 | cd 30 | delete vdkvrgvysuoxsid 31 | cd 32 | mkfile wjcvb 33 | delete wjcvb 34 | cd upqea 35 | cd 36 | mkfile xllgylrptwloh 37 | cd .. 38 | mkfile aranqyyahhkcl 39 | cd upqea 40 | cd 41 | dir 42 | cd 43 | delete xllgylrptwloh 44 | dir 45 | cd 46 | mkdir krzmgyavvq 47 | dir 48 | cd .. 49 | dir 50 | delete aranqyyahhkcl 51 | cd /upqea 52 | dir 53 | cd /upqea/krzmgyavvq 54 | dir 55 | cd 56 | dir 57 | mkdir miqw 58 | cd .. 59 | cd /upqea/krzmgyavvq 60 | mkdir xghglprj 61 | mkfile pwmfqwwtfcwf 62 | mkdir rndnhn 63 | dir 64 | delete pwmfqwwtfcwf 65 | dir 66 | cd xghglprj 67 | mkdir yvgqt 68 | mkdir yjcrnshxeuuc 69 | mkdir rrmjiljpfkzen 70 | cd .. 71 | cd rndnhn 72 | dir 73 | mkfile mycxwwfsxw 74 | cd .. 75 | cd .. 76 | cd 77 | mkdir wftwsixrhhf 78 | cd .. 79 | cd /dnhiv 80 | mkdir odgauixxci 81 | cd 82 | cd .. 83 | cd upqea 84 | cd 85 | dir 86 | dir 87 | cd krzmgyavvq 88 | dir 89 | cd .. 90 | cd .. 91 | cd .. 92 | dir 93 | mkfile kmarhyeblbrbuamg 94 | delete mdbmwfap 95 | cd /upqea 96 | cd /upqea/wftwsixrhhf 97 | cd .. 98 | cd 99 | mkfile lqvixngotgyxfwwggh 100 | dir 101 | cd wftwsixrhhf 102 | dir 103 | mkdir lyjcopflomvg 104 | mkdir rjb 105 | cd rjb 106 | mkdir wgwzmciur 107 | dir 108 | mkfile tqxmltppugvwqttcmldlyc 109 | dir 110 | cd .. 111 | cd .. 112 | cd .. 113 | mkdir fmqzdoqcez 114 | cd .. 115 | dir 116 | mkdir mwwlzotahtduby 117 | mkdir ruftwsgldvt 118 | dir 119 | cd .. 120 | cd upqea 121 | delete lqvixngotgyxfwwggh 122 | mkdir oruiexlxu 123 | cd oruiexlxu 124 | mkfile egyks 125 | dir 126 | delete egyks 127 | mkfile ljsjvkxektxsi 128 | cd .. 129 | mkfile yvike 130 | cd krzmgyavvq 131 | mkdir itlzbtmhtbxleet 132 | cd xghglprj 133 | mkfile qkfqep 134 | mkdir mdaqthtpybmuznanergwuc 135 | mkfile riocmdndcncfev 136 | mkdir snqyjunedexeezxqboxy 137 | cd .. 138 | mkfile rgtzqzgs 139 | cd 140 | cd .. 141 | mkfile fqihvomchyqtmyzhfyieh 142 | cd /upqea/wftwsixrhhf 143 | mkdir m 144 | mkdir ktpzzifluwz 145 | dir 146 | mkfile meg 147 | mkdir ynx 148 | dir 149 | delete meg 150 | cd .. 151 | mkfile xjnrprkttitogofirjzgm 152 | mkdir gyrzduwvekgbzianw 153 | mkfile nzcamdssdsbbarsr 154 | dir 155 | cd .. 156 | mkdir qvxyawjux 157 | mkdir cwgolzwkhdfvkdsf 158 | cd 159 | cd 160 | cd 161 | mkdir xfadlbayasytlcyzdd 162 | delete kmarhyeblbrbuamg 163 | cd /cwgolzwkhdfvkdsf 164 | dir 165 | mkfile gor 166 | mkdir gdqaedcidvokpnijulpxro 167 | dir 168 | cd .. 169 | mkdir nsplwotm 170 | cd qvxyawjux 171 | cd 172 | mkfile jmelhgczznkn 173 | cd .. 174 | mkfile neumfqwfbsulb 175 | cd 176 | mkfile pjdrqbjr 177 | dir 178 | cd dnhiv 179 | cd odgauixxci 180 | dir 181 | mkfile vtozazmhkm 182 | mkdir lfancyfxphg 183 | mkdir lhhruzpcylfxinb 184 | mkdir udvup 185 | dir 186 | quit -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/CataLogTree/main.cpp -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/out3.txt: -------------------------------------------------------------------------------- 1 | / 2 | / 3 | / 4 | cewbfowgaepoecuqkfpi 5 | eymdfzzcdpimmomk 6 | / 7 | /bgbhkznkiyjolvhgw 8 | /bgbhkznkiyjolvhgw/tcgrocyrpdwomp 9 | / 10 | nxpmeqkcujygxvui* 11 | r* 12 | bgbhkznkiyjolvhgw 13 | cewbfowgaepoecuqkfpi 14 | eymdfzzcdpimmomk 15 | / 16 | / 17 | / 18 | cewbfowgaepoecuqkfpi 19 | eymdfzzcdpimmomk 20 | / 21 | /bgbhkznkiyjolvhgw 22 | /bgbhkznkiyjolvhgw/tcgrocyrpdwomp 23 | / 24 | nxpmeqkcujygxvui* 25 | r* 26 | bgbhkznkiyjolvhgw 27 | cewbfowgaepoecuqkfpi 28 | eymdfzzcdpimmomk 29 | / 30 | / 31 | / 32 | cewbfowgaepoecuqkfpi 33 | eymdfzzcdpimmomk 34 | / 35 | /bgbhkznkiyjolvhgw 36 | /bgbhkznkiyjolvhgw/tcgrocyrpdwomp 37 | / 38 | nxpmeqkcujygxvui* 39 | r* 40 | bgbhkznkiyjolvhgw 41 | cewbfowgaepoecuqkfpi 42 | eymdfzzcdpimmomk 43 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/out6.txt: -------------------------------------------------------------------------------- 1 | wcp* 2 | / 3 | / 4 | / 5 | / 6 | es* 7 | pa* 8 | wcp* 9 | jrsqqqrroukep 10 | oabl* 11 | wjnnoumahqdj 12 | /jrsqqqrroukep/jelkcnwalfdso 13 | onnrnlfiokyicxcnp 14 | / 15 | es* 16 | pa* 17 | wcp* 18 | jrsqqqrroukep 19 | vcyjyrvilppdbfzz 20 | / 21 | / 22 | / 23 | / 24 | / 25 | oabl* 26 | jelkcnwalfdso 27 | wjnnoumahqdj 28 | jelkcnwalfdso 29 | wjnnoumahqdj 30 | cbnzbe* 31 | edsvsenzltzwb* 32 | ox* 33 | skgg* 34 | jelkcnwalfdso 35 | wjnnoumahqdj 36 | ovmzblvmbd* 37 | zdptjkwnlyo* 38 | wcp* 39 | / 40 | / 41 | / 42 | / 43 | es* 44 | pa* 45 | wcp* 46 | jrsqqqrroukep 47 | oabl* 48 | wjnnoumahqdj 49 | /jrsqqqrroukep/jelkcnwalfdso 50 | onnrnlfiokyicxcnp 51 | / 52 | es* 53 | pa* 54 | wcp* 55 | jrsqqqrroukep 56 | vcyjyrvilppdbfzz 57 | / 58 | / 59 | / 60 | / 61 | / 62 | oabl* 63 | jelkcnwalfdso 64 | wjnnoumahqdj 65 | jelkcnwalfdso 66 | wjnnoumahqdj 67 | cbnzbe* 68 | edsvsenzltzwb* 69 | ox* 70 | skgg* 71 | jelkcnwalfdso 72 | wjnnoumahqdj 73 | ovmzblvmbd* 74 | zdptjkwnlyo* 75 | wcp* 76 | / 77 | / 78 | / 79 | / 80 | es* 81 | pa* 82 | wcp* 83 | jrsqqqrroukep 84 | oabl* 85 | wjnnoumahqdj 86 | /jrsqqqrroukep/jelkcnwalfdso 87 | onnrnlfiokyicxcnp 88 | / 89 | es* 90 | pa* 91 | wcp* 92 | jrsqqqrroukep 93 | vcyjyrvilppdbfzz 94 | / 95 | / 96 | / 97 | / 98 | / 99 | oabl* 100 | jelkcnwalfdso 101 | wjnnoumahqdj 102 | jelkcnwalfdso 103 | wjnnoumahqdj 104 | cbnzbe* 105 | edsvsenzltzwb* 106 | ox* 107 | skgg* 108 | jelkcnwalfdso 109 | wjnnoumahqdj 110 | ovmzblvmbd* 111 | zdptjkwnlyo* 112 | -------------------------------------------------------------------------------- /CataLogTree/CataLogTree/out9.txt: -------------------------------------------------------------------------------- 1 | tek* 2 | / 3 | / 4 | upqea 5 | upqea 6 | / 7 | ymkoatwkllg* 8 | upqea 9 | / 10 | / 11 | mdbmwfap* 12 | vdkvrgvysuoxsid* 13 | dnhiv 14 | pvlcoslpzgcncqjkwj 15 | upqea 16 | / 17 | / 18 | /upqea 19 | /upqea 20 | xllgylrptwloh* 21 | /upqea 22 | /upqea 23 | krzmgyavvq 24 | aranqyyahhkcl* 25 | mdbmwfap* 26 | dnhiv 27 | pvlcoslpzgcncqjkwj 28 | upqea 29 | krzmgyavvq 30 | /upqea/krzmgyavvq 31 | pwmfqwwtfcwf* 32 | miqw 33 | rndnhn 34 | xghglprj 35 | miqw 36 | rndnhn 37 | xghglprj 38 | /upqea 39 | /dnhiv 40 | /upqea 41 | krzmgyavvq 42 | wftwsixrhhf 43 | krzmgyavvq 44 | wftwsixrhhf 45 | miqw 46 | rndnhn 47 | xghglprj 48 | mdbmwfap* 49 | dnhiv 50 | pvlcoslpzgcncqjkwj 51 | upqea 52 | /upqea 53 | lqvixngotgyxfwwggh* 54 | krzmgyavvq 55 | wftwsixrhhf 56 | wgwzmciur 57 | tqxmltppugvwqttcmldlyc* 58 | wgwzmciur 59 | kmarhyeblbrbuamg* 60 | dnhiv 61 | fmqzdoqcez 62 | pvlcoslpzgcncqjkwj 63 | upqea 64 | kmarhyeblbrbuamg* 65 | dnhiv 66 | fmqzdoqcez 67 | mwwlzotahtduby 68 | pvlcoslpzgcncqjkwj 69 | ruftwsgldvt 70 | upqea 71 | egyks* 72 | /upqea/krzmgyavvq 73 | ktpzzifluwz 74 | lyjcopflomvg 75 | m 76 | rjb 77 | meg* 78 | ktpzzifluwz 79 | lyjcopflomvg 80 | m 81 | rjb 82 | ynx 83 | fqihvomchyqtmyzhfyieh* 84 | nzcamdssdsbbarsr* 85 | xjnrprkttitogofirjzgm* 86 | yvike* 87 | gyrzduwvekgbzianw 88 | krzmgyavvq 89 | oruiexlxu 90 | wftwsixrhhf 91 | / 92 | / 93 | / 94 | gor* 95 | gdqaedcidvokpnijulpxro 96 | /qvxyawjux 97 | / 98 | neumfqwfbsulb* 99 | pjdrqbjr* 100 | cwgolzwkhdfvkdsf 101 | dnhiv 102 | fmqzdoqcez 103 | mwwlzotahtduby 104 | nsplwotm 105 | pvlcoslpzgcncqjkwj 106 | qvxyawjux 107 | ruftwsgldvt 108 | upqea 109 | xfadlbayasytlcyzdd 110 | vtozazmhkm* 111 | lfancyfxphg 112 | lhhruzpcylfxinb 113 | udvup 114 | tek* 115 | / 116 | / 117 | upqea 118 | upqea 119 | / 120 | ymkoatwkllg* 121 | upqea 122 | / 123 | / 124 | mdbmwfap* 125 | vdkvrgvysuoxsid* 126 | dnhiv 127 | pvlcoslpzgcncqjkwj 128 | upqea 129 | / 130 | / 131 | /upqea 132 | /upqea 133 | xllgylrptwloh* 134 | /upqea 135 | /upqea 136 | krzmgyavvq 137 | aranqyyahhkcl* 138 | mdbmwfap* 139 | dnhiv 140 | pvlcoslpzgcncqjkwj 141 | upqea 142 | krzmgyavvq 143 | /upqea/krzmgyavvq 144 | pwmfqwwtfcwf* 145 | miqw 146 | rndnhn 147 | xghglprj 148 | miqw 149 | rndnhn 150 | xghglprj 151 | /upqea 152 | /dnhiv 153 | /upqea 154 | krzmgyavvq 155 | wftwsixrhhf 156 | krzmgyavvq 157 | wftwsixrhhf 158 | miqw 159 | rndnhn 160 | xghglprj 161 | mdbmwfap* 162 | dnhiv 163 | pvlcoslpzgcncqjkwj 164 | upqea 165 | /upqea 166 | lqvixngotgyxfwwggh* 167 | krzmgyavvq 168 | wftwsixrhhf 169 | wgwzmciur 170 | tqxmltppugvwqttcmldlyc* 171 | wgwzmciur 172 | kmarhyeblbrbuamg* 173 | dnhiv 174 | fmqzdoqcez 175 | pvlcoslpzgcncqjkwj 176 | upqea 177 | kmarhyeblbrbuamg* 178 | dnhiv 179 | fmqzdoqcez 180 | mwwlzotahtduby 181 | pvlcoslpzgcncqjkwj 182 | ruftwsgldvt 183 | upqea 184 | egyks* 185 | /upqea/krzmgyavvq 186 | ktpzzifluwz 187 | lyjcopflomvg 188 | m 189 | rjb 190 | meg* 191 | ktpzzifluwz 192 | lyjcopflomvg 193 | m 194 | rjb 195 | ynx 196 | fqihvomchyqtmyzhfyieh* 197 | nzcamdssdsbbarsr* 198 | xjnrprkttitogofirjzgm* 199 | yvike* 200 | gyrzduwvekgbzianw 201 | krzmgyavvq 202 | oruiexlxu 203 | wftwsixrhhf 204 | / 205 | / 206 | / 207 | gor* 208 | gdqaedcidvokpnijulpxro 209 | /qvxyawjux 210 | / 211 | neumfqwfbsulb* 212 | pjdrqbjr* 213 | cwgolzwkhdfvkdsf 214 | dnhiv 215 | fmqzdoqcez 216 | mwwlzotahtduby 217 | nsplwotm 218 | pvlcoslpzgcncqjkwj 219 | qvxyawjux 220 | ruftwsgldvt 221 | upqea 222 | xfadlbayasytlcyzdd 223 | vtozazmhkm* 224 | lfancyfxphg 225 | lhhruzpcylfxinb 226 | udvup 227 | tek* 228 | / 229 | / 230 | upqea 231 | upqea 232 | / 233 | ymkoatwkllg* 234 | upqea 235 | / 236 | / 237 | mdbmwfap* 238 | vdkvrgvysuoxsid* 239 | dnhiv 240 | pvlcoslpzgcncqjkwj 241 | upqea 242 | / 243 | / 244 | /upqea 245 | /upqea 246 | xllgylrptwloh* 247 | /upqea 248 | /upqea 249 | krzmgyavvq 250 | aranqyyahhkcl* 251 | mdbmwfap* 252 | dnhiv 253 | pvlcoslpzgcncqjkwj 254 | upqea 255 | krzmgyavvq 256 | /upqea/krzmgyavvq 257 | pwmfqwwtfcwf* 258 | miqw 259 | rndnhn 260 | xghglprj 261 | miqw 262 | rndnhn 263 | xghglprj 264 | /upqea 265 | /dnhiv 266 | /upqea 267 | krzmgyavvq 268 | wftwsixrhhf 269 | krzmgyavvq 270 | wftwsixrhhf 271 | miqw 272 | rndnhn 273 | xghglprj 274 | mdbmwfap* 275 | dnhiv 276 | pvlcoslpzgcncqjkwj 277 | upqea 278 | /upqea 279 | lqvixngotgyxfwwggh* 280 | krzmgyavvq 281 | wftwsixrhhf 282 | wgwzmciur 283 | tqxmltppugvwqttcmldlyc* 284 | wgwzmciur 285 | kmarhyeblbrbuamg* 286 | dnhiv 287 | fmqzdoqcez 288 | pvlcoslpzgcncqjkwj 289 | upqea 290 | kmarhyeblbrbuamg* 291 | dnhiv 292 | fmqzdoqcez 293 | mwwlzotahtduby 294 | pvlcoslpzgcncqjkwj 295 | ruftwsgldvt 296 | upqea 297 | egyks* 298 | /upqea/krzmgyavvq 299 | ktpzzifluwz 300 | lyjcopflomvg 301 | m 302 | rjb 303 | meg* 304 | ktpzzifluwz 305 | lyjcopflomvg 306 | m 307 | rjb 308 | ynx 309 | fqihvomchyqtmyzhfyieh* 310 | nzcamdssdsbbarsr* 311 | xjnrprkttitogofirjzgm* 312 | yvike* 313 | gyrzduwvekgbzianw 314 | krzmgyavvq 315 | oruiexlxu 316 | wftwsixrhhf 317 | / 318 | / 319 | / 320 | gor* 321 | gdqaedcidvokpnijulpxro 322 | /qvxyawjux 323 | / 324 | neumfqwfbsulb* 325 | pjdrqbjr* 326 | cwgolzwkhdfvkdsf 327 | dnhiv 328 | fmqzdoqcez 329 | mwwlzotahtduby 330 | nsplwotm 331 | pvlcoslpzgcncqjkwj 332 | qvxyawjux 333 | ruftwsgldvt 334 | upqea 335 | xfadlbayasytlcyzdd 336 | vtozazmhkm* 337 | lfancyfxphg 338 | lhhruzpcylfxinb 339 | udvup 340 | -------------------------------------------------------------------------------- /CataLogTree/Debug/CataLogTree.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/Debug/CataLogTree.exe -------------------------------------------------------------------------------- /CataLogTree/Debug/CataLogTree.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/Debug/CataLogTree.ilk -------------------------------------------------------------------------------- /CataLogTree/Debug/CataLogTree.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/CataLogTree/Debug/CataLogTree.pdb -------------------------------------------------------------------------------- /CataLogTree/README.md: -------------------------------------------------------------------------------- 1 | # 实验三 201900180091 张朝阳 2 | 3 | 实现了以下指令: 4 | 5 | ## 基础 6 | 7 | - `dir `—— 列出**当前目录下的**所有子目录与文件项,所有文件项**后加`*`表示“这是一个文件”**,没有则不输出; 8 | 9 | - `cd `—— 列出当前目录的**绝对路径**。 10 | 11 | - `cd ..` —— 当前目录变为当前目录的父目录 。 12 | - `cd str` —— 当前目录变为 `str` 所表示路径的目录。 13 | - `mkdir str` ——在(当前目录下)创建一个子目录(名为` str`),若**存在**则不进行任何操作。 14 | 15 | - `mkfile str` ——在(当前目录下)创建一个文件(名为` str`) ,若**存在**则不进行任何操作。 16 | 17 | - `delete str` ——删除(当前目录下)名为 `str` 的目录或文件,若**不存在**则不进行任何操作。 18 | 19 | - `save str`—— 将从根节点开始的目录树结构保存到文件(名为`str`)中。 20 | 21 | - `load str `—— 从名为的文件`str`中读取之前保存的目录树结构,并根据其**重新建立**当前目录树,并进行后续操作 22 | 23 | - `quit` —— 退出程序 24 | ## 拓展 25 | ### 权限操作: 26 | - `-r` —— 系统权限变为root 27 | 28 | - `-p`—— 系统权限变为p 29 | 30 | - `mkdir-r`—— 创建一个权限为R的目录 31 | 32 | - `-mkfile-r str`—— 当前目录下创建一个名为str目录,权限为r 33 | 34 | - `-delete-r str`—— 以root权限,删除当前目录下名为str的目录或文件 35 | 36 | ### 配额操作: 37 | 38 | - `mkfile-s str`—— 在当前下创建大小为size,名为str的文件 39 | 40 | - `Q size`—— 在当前下创建大小为size,名为str的文件 41 | 42 | - `remove str`—— 删除绝对路径str最后一个文件以及目录 43 | 44 | - `show`—— 展示当前目录的配额大小以及使用情况或文件的大小 45 | 46 | ### 文件操作: 47 | 48 | - `mv a b`—— 把当前路径下的a剪切到绝对路径b下 49 | 50 | - `cp a b`—— 把当前路径下的a复制到绝对路径b下 51 | 52 | ### 其他操作: 53 | 54 | - `mkdir-m str`—— 根据输入的str绝对路径,生成多级目录(类似于touch) -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/Readme.md: -------------------------------------------------------------------------------- 1 | # ExternalSorter 2 | SDU数据结构课设测试数据 3 | ## 文件介绍 4 | ### exsort(qt) 5 | 通过QT C++实现的可视化输入输出的外排序文件 6 | ### externalsorter 7 | Vs2019实现的CMD格式的外排序程序 8 | 9 | ## 使用方法 10 | 运行程序,可以对现有文件或者新生成一个文件进行排序 11 | 12 | 并且获得相关信息。 13 | 14 | 15 | ## 输入格式 16 | 17 | 根据提示输入 18 | 19 | ## 输出格式 20 | 输出排序文件以及排序的相关数据 21 | 22 | ## 备注 23 | 24 | 1. 应用了**最小输者树**设计实现外排序 25 | 2. 体现了内外存读取。实验指导书中的采用Page结构来模拟缓存块。 26 | 3. exsorter.h代替了exsorter.cpp 一样使用 27 | 28 | 29 | ## 拓展项 30 | 31 | 1.qt可视化 32 | 33 | 2.关于并行外排(多线程同时排序)进行了实验以及思考,详情请见实验报告。 34 | 35 | 3.对各种参数对外排序的影响、访存次数影响进行了探索。 36 | 37 | 4.对输者树的优势进行了分析。 38 | 39 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/externalSorter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/exsort(qt)/externalSorter.h -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/mainwindow.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include "ui_mainwindow.h" 3 | #include 4 | #include 5 | #include"minlosertree.h" 6 | #include"minlosertree.cpp" 7 | #include"makefile.h" 8 | #include"externalSorter.h" 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | using namespace std; 16 | QString res; 17 | MainWindow::MainWindow(QWidget *parent) : 18 | QMainWindow(parent), 19 | ui(new Ui::MainWindow) 20 | { 21 | ui->setupUi(this); 22 | } 23 | 24 | MainWindow::~MainWindow() 25 | { 26 | delete ui; 27 | } 28 | 29 | void MainWindow::on_pushButton_clicked() 30 | {//生成文件 31 | if(ui->radioButton->isChecked()) 32 | { 33 | disk_times=0; 34 | path=ui->lineEdit->text().toStdString(); 35 | file_name=ui->lineEdit_2->text().toStdString(); 36 | max_n=ui->lineEdit_3->text().toInt(); 37 | sizeof_file=ui->lineEdit_4->text().toInt(); 38 | make_file(); 39 | } 40 | else 41 | { 42 | disk_times=0; 43 | path=ui->lineEdit->text().toStdString(); 44 | file_name=ui->lineEdit_2->text().toStdString(); 45 | //max_n=ui->lineEdit_3->text().toInt(); 46 | //sizeof_file=ui->lineEdit_4->text().toInt(); 47 | 48 | QMessageBox msgBox; 49 | msgBox.setText("The file has been Ready!!! Go Sort!!!"); 50 | msgBox.exec(); 51 | } 52 | 53 | 54 | 55 | 56 | } 57 | 58 | void MainWindow::on_pushButton_2_clicked() 59 | {//进行外排序 60 | disk_times = 0; 61 | max_run = 0;//看一共多少个顺串 62 | all_temps = 0;//临时文件 63 | 64 | int k; 65 | k=ui->lineEdit_6->text().toInt(); 66 | sizeof_MM=ui->lineEdit_5->text().toInt(); 67 | 68 | ff_name = path + "\\" + file_name;//用来命名文件 69 | string input_file = path + "\\" + file_name + ".txt";//输入文件 70 | fstream fin(input_file); 71 | if (!fin.is_open()) { 72 | QMessageBox msgBox; 73 | msgBox.setText("The file can't been opened!!!"); 74 | msgBox.exec(); 75 | return; 76 | } 77 | fin>>sizeof_file; 78 | Player* players = new Player[sizeof_MM + 1]; 79 | for (int i = 1; i <= sizeof_MM; i++) 80 | { 81 | fin >> players[i].element; 82 | players[i].num = 1;//初始化 83 | disk_times++; 84 | } 85 | minLoserTree mt(players, sizeof_MM); 86 | 87 | res+=exsortt(mt,k, fin); 88 | res+="------------------------------"; 89 | ui->textBrowser->setText(res); 90 | } 91 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/mainwindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class MainWindow; 8 | } 9 | 10 | class MainWindow : public QMainWindow 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit MainWindow(QWidget *parent = 0); 16 | ~MainWindow(); 17 | 18 | private slots: 19 | void on_pushButton_clicked(); 20 | 21 | void on_pushButton_2_clicked(); 22 | 23 | private: 24 | Ui::MainWindow *ui; 25 | }; 26 | 27 | #endif // MAINWINDOW_H 28 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 773 10 | 610 11 | 12 | 13 | 14 | MainWindow 15 | 16 | 17 | 18 | 19 | 20 | 90 21 | 440 22 | 191 23 | 61 24 | 25 | 26 | 27 | 28 | 楷体 29 | 12 30 | 31 | 32 | 33 | makefile 34 | 35 | 36 | 37 | 38 | 39 | 450 40 | 440 41 | 201 42 | 61 43 | 44 | 45 | 46 | 47 | 楷体 48 | 12 49 | 50 | 51 | 52 | sort 53 | 54 | 55 | 56 | 57 | 58 | 70 59 | 120 60 | 141 61 | 31 62 | 63 | 64 | 65 | 66 | 67 | 68 | 240 69 | 120 70 | 121 71 | 31 72 | 73 | 74 | 75 | 76 | 77 | 78 | 70 79 | 90 80 | 72 81 | 15 82 | 83 | 84 | 85 | 86 | 楷体 87 | 12 88 | 89 | 90 | 91 | 路径 92 | 93 | 94 | 95 | 96 | 97 | 240 98 | 90 99 | 72 100 | 15 101 | 102 | 103 | 104 | 105 | 楷体 106 | 12 107 | 108 | 109 | 110 | 文件名 111 | 112 | 113 | 114 | 115 | 116 | 240 117 | 200 118 | 101 119 | 41 120 | 121 | 122 | 123 | 124 | 楷体 125 | 12 126 | 127 | 128 | 129 | 最大数据 130 | 131 | 132 | 133 | 134 | 135 | 240 136 | 240 137 | 121 138 | 31 139 | 140 | 141 | 142 | 143 | 144 | 145 | 70 146 | 210 147 | 72 148 | 15 149 | 150 | 151 | 152 | 153 | 楷体 154 | 12 155 | 156 | 157 | 158 | 数据量 159 | 160 | 161 | 162 | 163 | 164 | 70 165 | 240 166 | 131 167 | 31 168 | 169 | 170 | 171 | 172 | 173 | 174 | 420 175 | 70 176 | 121 177 | 41 178 | 179 | 180 | 181 | 182 | 楷体 183 | 12 184 | 185 | 186 | 187 | 缓冲区大小 188 | 189 | 190 | 191 | 192 | 193 | 420 194 | 120 195 | 113 196 | 31 197 | 198 | 199 | 200 | 201 | 12 202 | 203 | 204 | 205 | 206 | 207 | 208 | 580 209 | 120 210 | 113 211 | 31 212 | 213 | 214 | 215 | 216 | 217 | 218 | 580 219 | 70 220 | 91 221 | 31 222 | 223 | 224 | 225 | 226 | 楷体 227 | 12 228 | 229 | 230 | 231 | 合并路数 232 | 233 | 234 | 235 | 236 | 237 | 420 238 | 200 239 | 256 240 | 192 241 | 242 | 243 | 244 | 245 | 246 | 247 | 420 248 | 170 249 | 91 250 | 31 251 | 252 | 253 | 254 | 255 | 楷体 256 | 12 257 | 258 | 259 | 260 | 结果 261 | 262 | 263 | 264 | 265 | 266 | 70 267 | 310 268 | 191 269 | 41 270 | 271 | 272 | 273 | 274 | 楷体 275 | 12 276 | 277 | 278 | 279 | 需要新文件 280 | 281 | 282 | 283 | 284 | 285 | 286 | 0 287 | 0 288 | 773 289 | 26 290 | 291 | 292 | 293 | 294 | 295 | TopToolBarArea 296 | 297 | 298 | false 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/makefile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/exsort(qt)/makefile.h -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/minlosertree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/exsort(qt)/minlosertree.cpp -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/minlosertree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/exsort(qt)/minlosertree.h -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/exsort(qt)/ssss.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2021-04-20T21:50:17 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | 9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 10 | 11 | TARGET = ssss 12 | TEMPLATE = app 13 | 14 | # The following define makes your compiler emit warnings if you use 15 | # any feature of Qt which has been marked as deprecated (the exact warnings 16 | # depend on your compiler). Please consult the documentation of the 17 | # deprecated API in order to know how to port your code away from it. 18 | DEFINES += QT_DEPRECATED_WARNINGS 19 | 20 | # You can also make your code fail to compile if you use deprecated APIs. 21 | # In order to do so, uncomment the following line. 22 | # You can also select to disable deprecated APIs only up to a certain version of Qt. 23 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 24 | 25 | 26 | SOURCES += \ 27 | main.cpp \ 28 | mainwindow.cpp \ 29 | minlosertree.cpp 30 | 31 | HEADERS += \ 32 | mainwindow.h \ 33 | makefile.h \ 34 | externalSorter.h \ 35 | externalSorter.h \ 36 | minlosertree.h 37 | 38 | FORMS += \ 39 | mainwindow.ui 40 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/Debug/externalsort.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/Debug/externalsort.exe -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/Debug/externalsort.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/Debug/externalsort.ilk -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/Debug/externalsort.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/Debug/externalsort.pdb -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalSorter.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalSorter.obj -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.exe.recipe: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | F:\vscpp\externalsort\Debug\externalsort.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.log: -------------------------------------------------------------------------------- 1 |  main.cpp 2 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(225,10): warning C4244: “初始化”: 从“__int64”转换到“int”,可能丢失数据 3 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(205): message : 在编译 类 模板 成员函数“void minLoserTree::make_run(std::fstream &)”时 4 | F:\vscpp\externalsort\externalsort\externalSorter.h(14): message : 查看对正在编译的函数 模板 实例化“void minLoserTree::make_run(std::fstream &)”的引用 5 | F:\vscpp\externalsort\externalsort\externalSorter.h(14): message : 查看对正在编译的 类 模板 实例化“minLoserTree”的引用 6 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(228,12): warning C4244: “=”: 从“__int64”转换到“int”,可能丢失数据 7 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(270,12): warning C4244: “=”: 从“__int64”转换到“int”,可能丢失数据 8 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(438,11): warning C4244: “初始化”: 从“__int64”转换到“int”,可能丢失数据 9 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(286): message : 在编译 类 模板 成员函数“void minLoserTree::merge_K(int,int,int)”时 10 | F:\vscpp\externalsort\externalsort\externalSorter.h(25): message : 查看对正在编译的函数 模板 实例化“void minLoserTree::merge_K(int,int,int)”的引用 11 | F:\vscpp\externalsort\externalsort\externalSorter.h(22): message : 查看对正在编译的 类 模板 实例化“minLoserTree”的引用 12 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(441,13): warning C4244: “=”: 从“__int64”转换到“int”,可能丢失数据 13 | F:\vscpp\externalsort\externalsort\minlosertree.cpp(495,13): warning C4244: “=”: 从“__int64”转换到“int”,可能丢失数据 14 | minlosertree.cpp 15 | 正在生成代码... 16 | externalsort.vcxproj -> F:\vscpp\externalsort\Debug\externalsort.exe 17 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/externalsort.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.28.29910:TargetPlatformVersion=10.0.19041.0: 2 | Debug|Win32|F:\vscpp\externalsort\| 3 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/externalsort.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/main.obj -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/minlosertree.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/minlosertree.obj -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/vc142.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/vc142.idb -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/vc142.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/ExternalSort(Qt+Vs)/externalsort/externalsort/Debug/vc142.pdb -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/externalsort.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 16.0 23 | Win32Proj 24 | {7b0a02ed-67e6-4394-b884-4a69f52b2746} 25 | externalsort 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v142 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v142 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v142 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v142 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | false 78 | 79 | 80 | true 81 | 82 | 83 | false 84 | 85 | 86 | 87 | Level3 88 | true 89 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 90 | true 91 | 92 | 93 | Console 94 | true 95 | 96 | 97 | 98 | 99 | Level3 100 | true 101 | true 102 | true 103 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 104 | true 105 | 106 | 107 | Console 108 | true 109 | true 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 118 | true 119 | 120 | 121 | Console 122 | true 123 | 124 | 125 | 126 | 127 | Level3 128 | true 129 | true 130 | true 131 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 132 | true 133 | 134 | 135 | Console 136 | true 137 | true 138 | true 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/externalsort.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 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 | -------------------------------------------------------------------------------- /ExternalSort(Qt+Vs)/externalsort/externalsort/externalsort.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 山东大学数据结构课程设计 2 | 3 | ## 跳表的实现与分析 4 | 5 | ## 外排序 6 | 7 | [外排序与MapReduce的Sort](https://blog.csdn.net/qq_47865838/article/details/124000074?spm=1001.2014.3001.5501) 8 | 9 | ## 目录树 10 | 11 | 可以参考[模拟文件目录系统-CatalogTree](https://blog.csdn.net/qq_47865838/article/details/123958206) 12 | 13 | ## 网络放大器 14 | 15 | [网络放大器](https://blog.csdn.net/qq_47865838/article/details/124624829?spm=1001.2014.3001.5502) 16 | 17 | ## BinaryHeap的实现与分析 -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.exe.recipe: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | D:\大二下\DS课设\skiplist\Debug\SKIPLIST.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.log: -------------------------------------------------------------------------------- 1 |  main.cpp 2 | D:\大二下\DS课设\skiplist\SKIPLIST\SKIPLIST.cpp(361,12): warning C4244: “初始化”: 从“double”转换到“int”,可能丢失数据 3 | D:\大二下\DS课设\skiplist\SKIPLIST\SKIPLIST.cpp(357): message : 在编译 类 模板 成员函数“void skipList::ideal_initial(int *,int)”时 4 | D:\大二下\DS课设\skiplist\SKIPLIST\main.cpp(92): message : 查看对正在编译的函数 模板 实例化“void skipList::ideal_initial(int *,int)”的引用 5 | D:\大二下\DS课设\skiplist\SKIPLIST\main.cpp(80): message : 查看对正在编译的 类 模板 实例化“skipList”的引用 6 | SKIPLIST.vcxproj -> D:\大二下\DS课设\skiplist\Debug\SKIPLIST.exe 7 | -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/SKIPLIST.obj -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/SKIPLIST.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/SKIPLIST.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/SKIPLIST.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.tlog/SKIPLIST.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.28.29910:TargetPlatformVersion=10.0.19041.0: 2 | Debug|Win32|D:\大二下\DS课设\skiplist\| 3 | -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/SKIPLIST.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/SKIPLIST.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /SKIPLIST/Debug/SKIPLIST.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/SKIPLIST.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /SKIPLIST/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/main.obj -------------------------------------------------------------------------------- /SKIPLIST/Debug/vc142.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/vc142.idb -------------------------------------------------------------------------------- /SKIPLIST/Debug/vc142.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/Debug/vc142.pdb -------------------------------------------------------------------------------- /SKIPLIST/Readme.md: -------------------------------------------------------------------------------- 1 | ## SKIPLIST使用 2 | ### 输入 3 | #### 输入格式: 4 | 5 | 第一行两个数 N 和 M,分别表示操作个数和初始化跳表长度 6 | 第二行 M 个数为初始化跳表所用元素 7 | 接下来 N-1 行分别为跳表各个操作,具体操作为: 8 | 9 | - `1 num`,查找跳表中是否含有元素 `num`,含有则输出 `YES`,否则输入 `NO` 10 | - `2 num`,向跳表中插入元素 `num` 11 | - `3 num`,将跳表中的元素 `num` 删除 12 | - `4`,删除跳表中的最小元素,并将该元素输出 13 | - `5`,删除跳表中的最大元素,并将该元素输出 14 | - `6`,输出跳表中所有元素的亦或 15 | #### 输入方法: 16 | 采用文件输入,可直接读相对路径下,名称为input_i, ninput_i, dbinput_i的文件,分别为有重复数字、无重复数字、用于对比的数据集合,也可以读取绝对路径下txt输入文件。 17 | ### 输出 18 | 19 | 每个操作输出一行,并且输出相关信息:例如比较次数,是否成功,是否重构等。 20 | 输出以文件形式输出。 21 | 22 | 23 | ## 文件 24 | 25 | 数据集分为 `duplicate` 与 `non-duplicate`,`dbdata`, 26 | 其中 `duplicate` 文件夹内的数据集包含重复元素,`non-duplicate` 文件夹内的数据不包含重复元素,`dbdata`是自己设计的的数据集用于测试重构效果的数据集。 27 | 28 | 29 | 30 | ## 数据生成器 31 | generator 文件夹内包含本实验基本操作的数据生成器 32 | ### 使用 33 | 1. 使用 `pip install addict` 安装依赖包 34 | 2. 使用 `cd` 命令进入 generator 文件夹 35 | 3. 执行 `python input.py` 36 | -------------------------------------------------------------------------------- /SKIPLIST/SKIPLIST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/SKIPLIST.cpp -------------------------------------------------------------------------------- /SKIPLIST/SKIPLIST.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/SKIPLIST.h -------------------------------------------------------------------------------- /SKIPLIST/SKIPLIST.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 16.0 23 | Win32Proj 24 | {d9bb5116-89a7-4d84-9b98-b83742c8aaf9} 25 | SKIPLIST 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v142 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v142 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v142 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v142 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | false 78 | 79 | 80 | true 81 | 82 | 83 | false 84 | 85 | 86 | 87 | Level3 88 | true 89 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 90 | true 91 | 92 | 93 | Console 94 | true 95 | 96 | 97 | 98 | 99 | Level3 100 | true 101 | true 102 | true 103 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 104 | true 105 | 106 | 107 | Console 108 | true 109 | true 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 118 | true 119 | 120 | 121 | Console 122 | true 123 | 124 | 125 | 126 | 127 | Level3 128 | true 129 | true 130 | true 131 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 132 | true 133 | 134 | 135 | Console 136 | true 137 | true 138 | true 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /SKIPLIST/SKIPLIST.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 头文件 20 | 21 | 22 | 23 | 24 | 源文件 25 | 26 | 27 | 源文件 28 | 29 | 30 | -------------------------------------------------------------------------------- /SKIPLIST/SKIPLIST.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /SKIPLIST/generator/__pycache__/config.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/generator/__pycache__/config.cpython-36.pyc -------------------------------------------------------------------------------- /SKIPLIST/generator/__pycache__/config.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/generator/__pycache__/config.cpython-38.pyc -------------------------------------------------------------------------------- /SKIPLIST/generator/__pycache__/skiplist.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/generator/__pycache__/skiplist.cpython-38.pyc -------------------------------------------------------------------------------- /SKIPLIST/generator/config.py: -------------------------------------------------------------------------------- 1 | # https://github.com/open-mmlab/mmcv/blob/master/mmcv/utils/config.py 2 | 3 | import os.path as osp 4 | import sys 5 | from argparse import ArgumentParser 6 | from importlib import import_module 7 | 8 | from addict import Dict 9 | 10 | 11 | class ConfigDict(Dict): 12 | 13 | def __missing__(self, name): 14 | raise KeyError(name) 15 | 16 | def __getattr__(self, name): 17 | try: 18 | value = super(ConfigDict, self).__getattr__(name) 19 | except KeyError: 20 | ex = AttributeError("'{}' object has no attribute '{}'".format( 21 | self.__class__.__name__, name)) 22 | except Exception as e: 23 | ex = e 24 | else: 25 | return value 26 | raise ex 27 | 28 | 29 | def add_args(parser, cfg, prefix=''): 30 | for k, v in cfg.items(): 31 | if isinstance(v, str): 32 | parser.add_argument('--' + prefix + k) 33 | elif isinstance(v, int): 34 | parser.add_argument('--' + prefix + k, type=int) 35 | elif isinstance(v, float): 36 | parser.add_argument('--' + prefix + k, type=float) 37 | elif isinstance(v, bool): 38 | parser.add_argument('--' + prefix + k, action='store_true') 39 | elif isinstance(v, dict): 40 | add_args(parser, v, k + '.') 41 | elif isinstance(v, collections.Iterable): 42 | parser.add_argument('--' + prefix + k, type=type(v[0]), nargs='+') 43 | else: 44 | print('connot parse key {} of type {}'.format(prefix + k, type(v))) 45 | return parser 46 | 47 | 48 | class Config(object): 49 | """A facility for config and config files. 50 | It supports common file formats as configs: python/json/yaml. The interface 51 | is the same as a dict object and also allows access config values as 52 | attributes. 53 | Example: 54 | >>> cfg = Config(dict(a=1, b=dict(b1=[0, 1]))) 55 | >>> cfg.a 56 | 1 57 | >>> cfg.b 58 | {'b1': [0, 1]} 59 | >>> cfg.b.b1 60 | [0, 1] 61 | >>> cfg = Config.fromfile('tests/data/config/a.py') 62 | >>> cfg.filename 63 | "/home/kchen/projects/mmcv/tests/data/config/a.py" 64 | >>> cfg.item4 65 | 'test' 66 | >>> cfg 67 | "Config [path: /home/kchen/projects/mmcv/tests/data/config/a.py]: " 68 | "{'item1': [1, 2], 'item2': {'a': 0}, 'item3': True, 'item4': 'test'}" 69 | """ 70 | 71 | @staticmethod 72 | def fromfile(filename): 73 | filename = osp.abspath(osp.expanduser(filename)) 74 | if filename.endswith('.py'): 75 | module_name = osp.basename(filename)[:-3] 76 | if '.' in module_name: 77 | raise ValueError('Dots are not allowed in config file path.') 78 | config_dir = osp.dirname(filename) 79 | sys.path.insert(0, config_dir) 80 | mod = import_module(module_name) 81 | sys.path.pop(0) 82 | cfg_dict = { 83 | name: value 84 | for name, value in mod.__dict__.items() 85 | if not name.startswith('__') 86 | } 87 | elif filename.endswith(('.yml', '.yaml', '.json')): 88 | import mmcv 89 | cfg_dict = mmcv.load(filename) 90 | else: 91 | raise IOError('Only py/yml/yaml/json type are supported now!') 92 | return Config(cfg_dict, filename=filename) 93 | 94 | @staticmethod 95 | def auto_argparser(description=None): 96 | """Generate argparser from config file automatically (experimental) 97 | """ 98 | partial_parser = ArgumentParser(description=description) 99 | partial_parser.add_argument('config', help='config file path') 100 | cfg_file = partial_parser.parse_known_args()[0].config 101 | cfg = Config.fromfile(cfg_file) 102 | parser = ArgumentParser(description=description) 103 | parser.add_argument('config', help='config file path') 104 | add_args(parser, cfg) 105 | return parser, cfg 106 | 107 | def __init__(self, cfg_dict=None, filename=None): 108 | if cfg_dict is None: 109 | cfg_dict = dict() 110 | elif not isinstance(cfg_dict, dict): 111 | raise TypeError('cfg_dict must be a dict, but got {}'.format( 112 | type(cfg_dict))) 113 | 114 | super(Config, self).__setattr__('_cfg_dict', ConfigDict(cfg_dict)) 115 | super(Config, self).__setattr__('_filename', filename) 116 | if filename: 117 | with open(filename, 'r') as f: 118 | super(Config, self).__setattr__('_text', f.read()) 119 | else: 120 | super(Config, self).__setattr__('_text', '') 121 | 122 | @property 123 | def filename(self): 124 | return self._filename 125 | 126 | @property 127 | def text(self): 128 | return self._text 129 | 130 | def __repr__(self): 131 | return 'Config (path: {}): {}'.format(self.filename, 132 | self._cfg_dict.__repr__()) 133 | 134 | def __len__(self): 135 | return len(self._cfg_dict) 136 | 137 | def __getattr__(self, name): 138 | return getattr(self._cfg_dict, name) 139 | 140 | def __getitem__(self, name): 141 | return self._cfg_dict.__getitem__(name) 142 | 143 | def __setattr__(self, name, value): 144 | if isinstance(value, dict): 145 | value = ConfigDict(value) 146 | self._cfg_dict.__setattr__(name, value) 147 | 148 | def __setitem__(self, name, value): 149 | if isinstance(value, dict): 150 | value = ConfigDict(value) 151 | self._cfg_dict.__setitem__(name, value) 152 | 153 | def __iter__(self): 154 | return iter(self._cfg_dict) 155 | -------------------------------------------------------------------------------- /SKIPLIST/generator/input.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | import random 4 | 5 | from config import Config 6 | 7 | 8 | MAX_INT = 10000 9 | MIN_INT = -MAX_INT 10 | 11 | 12 | def generate_input(cfg, fb): 13 | """ 14 | 1: find 15 | 2: insert 16 | 3: delete 17 | 4: delete min 18 | 5: delete max 19 | 6: output 20 | """ 21 | op_num = cfg.op_num 22 | line = '%d %d\n' % (op_num, cfg.init_size) 23 | fb.write(line) 24 | op_num -= 1 25 | 26 | if cfg.allow_duplicate: 27 | skiplist = [random.randint(MIN_INT, MAX_INT) for i in range(cfg.init_size)] 28 | else: 29 | skiplist = random.sample(range(cfg.init_size + 10000), cfg.init_size) 30 | line = " ".join([str(e) for e in skiplist]) + "\n" 31 | fb.write(line) 32 | 33 | for _ in range(op_num): 34 | op = random.choice(cfg.op) 35 | # insure not find or delete element in an empty list 36 | if op in [1, 3, 4, 5] and not skiplist: 37 | op = 2 38 | if op == 1: 39 | num = random.randint(MIN_INT, MAX_INT) 40 | if random.random() < 0.5: 41 | num = random.choice(skiplist) 42 | line = "%d %d\n" % (op, num) 43 | fb.write(line) 44 | if op == 2: 45 | num = random.randint(MIN_INT, MAX_INT) 46 | if not cfg.allow_duplicate: 47 | while num in skiplist: 48 | num = random.randint(MIN_INT, MAX_INT) 49 | line = "%d %d\n" % (op, num) 50 | fb.write(line) 51 | skiplist.append(num) 52 | if op == 3: 53 | num = random.choice(skiplist) 54 | line = "%d %d\n" % (op, num) 55 | fb.write(line) 56 | skiplist.remove(num) 57 | if op == 4: 58 | line = "%d\n" % op 59 | fb.write(line) 60 | num = float('inf') 61 | for e in skiplist: 62 | if e < num: 63 | num = e 64 | skiplist.remove(num) 65 | if op == 5: 66 | line = "%d\n" % op 67 | fb.write(line) 68 | num = -float('inf') 69 | for e in skiplist: 70 | if e > num: 71 | num = e 72 | skiplist.remove(num) 73 | if op == 6: 74 | line = "%d\n" % op 75 | fb.write(line) 76 | 77 | 78 | def main(): 79 | cfg = Config.fromfile('skiplist.py') 80 | random.seed(cfg.SEED) 81 | 82 | if not os.path.isdir(cfg.save_path): 83 | os.mkdir(cfg.save_path) 84 | os.mkdir(cfg.save_path + '/input') 85 | os.mkdir(cfg.save_path + '/output') 86 | 87 | for i in range(cfg.NUM_CASES): 88 | path = '%s/input/input_%d.txt' % (cfg.save_path, i) 89 | with open(path, 'w') as fb: 90 | generate_input(cfg.TEST_CASES[i], fb) 91 | 92 | 93 | if __name__ == '__main__': 94 | main() 95 | 96 | -------------------------------------------------------------------------------- /SKIPLIST/generator/skiplist.py: -------------------------------------------------------------------------------- 1 | SEED = 10 2 | NUM_CASES = 10 3 | 4 | FIND = 1 5 | INSERT = 2 6 | DELETE = 3 7 | DELETE_MIN = 4 8 | DELETE_MAX = 5 9 | OUTPUT = 6 10 | 11 | save_path = './data' 12 | 13 | TEST_CASES = [ 14 | dict( 15 | allow_duplicate=False, 16 | op_num=100, 17 | init_size=100, 18 | op=[FIND, INSERT, OUTPUT] 19 | ), 20 | dict( 21 | allow_duplicate=False, 22 | op_num=100, 23 | init_size=100, 24 | op=[FIND, DELETE, OUTPUT] 25 | ), 26 | dict( 27 | allow_duplicate=False, 28 | op_num=100, 29 | init_size=100, 30 | op=[FIND, INSERT, DELETE_MIN, OUTPUT] 31 | ), 32 | dict( 33 | allow_duplicate=False, 34 | op_num=100, 35 | init_size=100, 36 | op=[FIND, INSERT, DELETE_MAX, OUTPUT] 37 | ), 38 | dict( 39 | allow_duplicate=False, 40 | op_num=100, 41 | init_size=100, 42 | op=[FIND, INSERT, DELETE, DELETE_MIN, DELETE_MAX, OUTPUT] 43 | ), 44 | dict( 45 | allow_duplicate=False, 46 | op_num=1000, 47 | init_size=100, 48 | op=[FIND, INSERT, DELETE, DELETE_MIN, DELETE_MAX, OUTPUT] 49 | ), 50 | dict( 51 | allow_duplicate=False, 52 | op_num=2000, 53 | init_size=100, 54 | op=[FIND, INSERT, DELETE, DELETE_MIN, DELETE_MAX, OUTPUT] 55 | ), 56 | dict( 57 | allow_duplicate=False, 58 | op_num=3000, 59 | init_size=100, 60 | op=[FIND, INSERT, DELETE, DELETE_MIN, DELETE_MAX, OUTPUT] 61 | ), 62 | dict( 63 | allow_duplicate=False, 64 | op_num=4000, 65 | init_size=100, 66 | op=[FIND, INSERT, DELETE, DELETE_MIN, DELETE_MAX, OUTPUT] 67 | ), 68 | dict( 69 | allow_duplicate=False, 70 | op_num=5000, 71 | init_size=100, 72 | op=[FIND, INSERT, DELETE, DELETE_MIN, DELETE_MAX, OUTPUT] 73 | ), 74 | dict( 75 | allow_duplicate=False, 76 | op_num=10000, 77 | init_size=100, 78 | op=[FIND, INSERT, DELETE, DELETE_MIN, DELETE_MAX, OUTPUT] 79 | ) 80 | ] -------------------------------------------------------------------------------- /SKIPLIST/input/dbdata/dbinput_0.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 9361 533 7026 7906 9471 243 3376 7578 8049 4546 2625 563 8530 8029 5370 1246 4095 5917 730 6887 2272 9882 5817 6252 6901 4646 4297 7484 2861 4966 5940 2178 7486 3922 7203 10048 6147 725 9550 66 3860 2195 3194 4962 8787 5998 3935 5150 8994 7383 7143 7700 1064 9577 5319 8223 2562 3674 6764 3905 604 520 8136 4934 9939 1180 8740 1326 2452 6298 9293 6130 9851 1850 1582 7234 2725 3128 5712 7098 6784 7300 4021 4500 2351 8550 2923 1957 4374 7466 4957 2702 2855 2885 7866 5694 5374 7122 3664 82 3 | 6 4 | 6 5 | 1 867 6 | 1 7700 7 | 6 8 | 1 2798 9 | 2 -2090 10 | 6 11 | 6 12 | 2 7042 13 | 2 9729 14 | 2 -7944 15 | 1 6036 16 | 2 -5552 17 | 2 7737 18 | 6 19 | 2 7651 20 | 2 6052 21 | 6 22 | 1 9577 23 | 1 8049 24 | 1 8029 25 | 6 26 | 2 5894 27 | 1 5028 28 | 6 29 | 2 -1510 30 | 6 31 | 2 3871 32 | 2 7028 33 | 6 34 | 1 9471 35 | 6 36 | 1 9284 37 | 6 38 | 2 -9184 39 | 1 -1510 40 | 1 -520 41 | 1 9570 42 | 1 520 43 | 1 1828 44 | 1 7234 45 | 1 8530 46 | 6 47 | 2 5196 48 | 6 49 | 6 50 | 6 51 | 6 52 | 2 4667 53 | 6 54 | 6 55 | 6 56 | 1 -1288 57 | 1 5712 58 | 2 2512 59 | 6 60 | 1 -7701 61 | 1 3935 62 | 2 3899 63 | 1 725 64 | 6 65 | 2 6630 66 | 2 3256 67 | 2 1191 68 | 2 -922 69 | 2 4639 70 | 2 9240 71 | 2 -7250 72 | 6 73 | 6 74 | 6 75 | 2 3279 76 | 1 9756 77 | 6 78 | 6 79 | 1 9514 80 | 2 -9466 81 | 6 82 | 2 554 83 | 1 2993 84 | 2 9848 85 | 1 6901 86 | 6 87 | 1 -2796 88 | 1 -9184 89 | 6 90 | 1 8994 91 | 6 92 | 6 93 | 2 -8439 94 | 6 95 | 6 96 | 6 97 | 1 -8803 98 | 2 635 99 | 6 100 | 6 101 | 1 4374 102 | 9361 533 7026 7906 9471 243 3376 7578 8049 4546 2625 563 8530 8029 5370 1246 4095 5917 730 6887 2272 9882 5817 6252 6901 4646 4297 7484 2861 4966 5940 2178 7486 3922 7203 10048 6147 725 9550 66 3860 2195 3194 4962 8787 5998 3935 5150 8994 7383 7143 7700 1064 9577 5319 8223 2562 3674 6764 3905 604 520 8136 4934 9939 1180 8740 1326 2452 6298 9293 6130 9851 1850 1582 7234 2725 3128 5712 7098 6784 7300 4021 4500 2351 8550 2923 1957 4374 7466 4957 2702 2855 2885 7866 5694 5374 7122 3664 82 103 | 6 104 | 6 105 | 1 867 106 | 1 7700 107 | 6 108 | 1 2798 109 | 2 -2090 110 | 6 111 | 6 112 | 2 7042 113 | 2 9729 114 | 2 -7944 115 | 1 6036 116 | 2 -5552 117 | 2 7737 118 | 6 119 | 2 7651 120 | 2 6052 121 | 6 122 | 1 9577 123 | 1 8049 124 | 1 8029 125 | 6 126 | 2 5894 127 | 1 5028 128 | 6 129 | 2 -1510 130 | 6 131 | 2 3871 132 | 2 7028 133 | 6 134 | 1 9471 135 | 6 136 | 1 9284 137 | 6 138 | 2 -9184 139 | 1 -1510 140 | 1 -520 141 | 1 9570 142 | 1 520 143 | 1 1828 144 | 1 7234 145 | 1 8530 146 | 6 147 | 2 5196 148 | 6 149 | 6 150 | 6 151 | 6 152 | 2 4667 153 | 6 154 | 6 155 | 6 156 | 1 -1288 157 | 1 5712 158 | 2 2512 159 | 6 160 | 1 -7701 161 | 1 3935 162 | 2 3899 163 | 1 725 164 | 6 165 | 2 6630 166 | 2 3256 167 | 2 1191 168 | 2 -922 169 | 2 4639 170 | 2 9240 171 | 2 -7250 172 | 6 173 | 6 174 | 6 175 | 2 3279 176 | 1 9756 177 | 6 178 | 6 179 | 1 9514 180 | 2 -9466 181 | 6 182 | 2 554 183 | 1 2993 184 | 2 9848 185 | 1 6901 186 | 6 187 | 1 -2796 188 | 1 -9184 189 | 6 190 | 1 8994 191 | 6 192 | 6 193 | 2 -8439 194 | 6 195 | 6 196 | 6 197 | 1 -8803 198 | 2 635 199 | 6 200 | 6 201 | 1 4374 -------------------------------------------------------------------------------- /SKIPLIST/input/dbdata/dbinput_1.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | -4383 -4832 -6153 9859 1318 -4617 -8980 7586 6748 1447 -7110 3022 4393 8936 1393 -8046 -5232 4573 5427 9983 4798 4480 9797 -4263 1592 3879 1250 8309 6803 5020 2721 -3632 -6821 4185 -5001 -8646 -3858 -3770 8678 4049 1802 8321 2324 -8365 9837 -8302 -4578 189 -2683 -8377 9005 -4209 -6735 8499 1811 -3920 -84 -8599 2969 9597 4049 -7453 1316 -3613 6110 -4666 -4483 3291 5342 756 -8777 -4328 -4227 9051 3783 -4983 6821 2843 -6911 2995 -6121 -2298 -6500 3849 185 -499 7484 -6754 1324 7098 5571 9917 -1988 7449 -477 -9600 -4821 2661 -2500 -6825 3 | 6 4 | 6 5 | 3 4393 6 | 6 7 | 3 -4983 8 | 1 3879 9 | 6 10 | 6 11 | 6 12 | 1 1318 13 | 1 -4263 14 | 6 15 | 1 -7453 16 | 1 8678 17 | 1 -1909 18 | 3 -6121 19 | 6 20 | 6 21 | 6 22 | 3 -4328 23 | 1 9859 24 | 1 9005 25 | 1 -9521 26 | 6 27 | 6 28 | 1 3819 29 | 6 30 | 1 -8271 31 | 6 32 | 3 9597 33 | 3 1592 34 | 1 3069 35 | 3 -4821 36 | 6 37 | 3 9917 38 | 1 -4263 39 | 1 -3770 40 | 1 1393 41 | 6 42 | 1 -571 43 | 3 -4383 44 | 6 45 | 3 1324 46 | 6 47 | 3 756 48 | 1 -8056 49 | 6 50 | 1 -3088 51 | 1 -6825 52 | 3 4480 53 | 1 2259 54 | 6 55 | 1 6110 56 | 1 7484 57 | 1 4792 58 | 6 59 | 1 1098 60 | 3 9797 61 | 1 6048 62 | 1 5389 63 | 1 6208 64 | 6 65 | 6 66 | 6 67 | 3 -4263 68 | 6 69 | 3 -4578 70 | 1 -8377 71 | 6 72 | 6 73 | 1 2455 74 | 1 -6153 75 | 3 -3613 76 | 1 5648 77 | 6 78 | 6 79 | 1 8499 80 | 3 1316 81 | 3 6803 82 | 6 83 | 1 3097 84 | 6 85 | 1 -2088 86 | 3 -5001 87 | 6 88 | 6 89 | 3 2969 90 | 1 -7775 91 | 6 92 | 1 9863 93 | 1 -7659 94 | 3 8936 95 | 1 5020 96 | 3 -7453 97 | 6 98 | 1 2661 99 | 3 1250 100 | 1 1811 101 | 1 668 102 | -4383 -4832 -6153 9859 1318 -4617 -8980 7586 6748 1447 -7110 3022 4393 8936 1393 -8046 -5232 4573 5427 9983 4798 4480 9797 -4263 1592 3879 1250 8309 6803 5020 2721 -3632 -6821 4185 -5001 -8646 -3858 -3770 8678 4049 1802 8321 2324 -8365 9837 -8302 -4578 189 -2683 -8377 9005 -4209 -6735 8499 1811 -3920 -84 -8599 2969 9597 4049 -7453 1316 -3613 6110 -4666 -4483 3291 5342 756 -8777 -4328 -4227 9051 3783 -4983 6821 2843 -6911 2995 -6121 -2298 -6500 3849 185 -499 7484 -6754 1324 7098 5571 9917 -1988 7449 -477 -9600 -4821 2661 -2500 -6825 103 | 6 104 | 6 105 | 3 4393 106 | 6 107 | 3 -4983 108 | 1 3879 109 | 6 110 | 6 111 | 6 112 | 1 1318 113 | 1 -4263 114 | 6 115 | 1 -7453 116 | 1 8678 117 | 1 -1909 118 | 3 -6121 119 | 6 120 | 6 121 | 6 122 | 3 -4328 123 | 1 9859 124 | 1 9005 125 | 1 -9521 126 | 6 127 | 6 128 | 1 3819 129 | 6 130 | 1 -8271 131 | 6 132 | 3 9597 133 | 3 1592 134 | 1 3069 135 | 3 -4821 136 | 6 137 | 3 9917 138 | 1 -4263 139 | 1 -3770 140 | 1 1393 141 | 6 142 | 1 -571 143 | 3 -4383 144 | 6 145 | 3 1324 146 | 6 147 | 3 756 148 | 1 -8056 149 | 6 150 | 1 -3088 151 | 1 -6825 152 | 3 4480 153 | 1 2259 154 | 6 155 | 1 6110 156 | 1 7484 157 | 1 4792 158 | 6 159 | 1 1098 160 | 3 9797 161 | 1 6048 162 | 1 5389 163 | 1 6208 164 | 6 165 | 6 166 | 6 167 | 3 -4263 168 | 6 169 | 3 -4578 170 | 1 -8377 171 | 6 172 | 6 173 | 1 2455 174 | 1 -6153 175 | 3 -3613 176 | 1 5648 177 | 6 178 | 6 179 | 1 8499 180 | 3 1316 181 | 3 6803 182 | 6 183 | 1 3097 184 | 6 185 | 1 -2088 186 | 3 -5001 187 | 6 188 | 6 189 | 3 2969 190 | 1 -7775 191 | 6 192 | 1 9863 193 | 1 -7659 194 | 3 8936 195 | 1 5020 196 | 3 -7453 197 | 6 198 | 1 2661 199 | 3 1250 200 | 1 1811 201 | 1 668 202 | -------------------------------------------------------------------------------- /SKIPLIST/input/dbdata/dbinput_2.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 6433 9280 -8426 3320 -701 5049 -4416 -6216 3698 4077 -6963 -6046 5143 -4706 -7594 2410 7409 -7376 -9769 7047 8046 -1484 8700 5827 -7216 3811 -6202 3335 5622 -2767 2904 -9241 4544 5033 8616 6158 3749 -211 8412 -4915 4770 -4542 -2569 5477 6368 8758 5327 3223 -107 8060 4685 9596 -9240 6409 7840 2045 5203 -58 -3980 -2320 -2692 2246 9765 -4738 7401 -9112 7746 8507 -8939 -8087 -4611 3764 77 -4605 -3587 -9069 -4494 5301 295 -8594 6519 -1957 -8834 -9434 -5359 6034 4879 1534 -9275 3778 1678 -1518 -9436 -4935 -1618 -8628 -5384 -2161 -6254 6883 3 | 6 4 | 4 5 | 4 6 | 4 7 | 6 8 | 4 9 | 4 10 | 6 11 | 1 -2161 12 | 4 13 | 6 14 | 6 15 | 6 16 | 4 17 | 1 -4832 18 | 4 19 | 4 20 | 2 -9836 21 | 6 22 | 1 7401 23 | 4 24 | 6 25 | 1 -6202 26 | 1 6102 27 | 1 8014 28 | 4 29 | 6 30 | 1 -1518 31 | 2 -4439 32 | 6 33 | 6 34 | 2 3869 35 | 2 4250 36 | 6 37 | 2 -2422 38 | 4 39 | 6 40 | 2 -3500 41 | 1 7135 42 | 2 -3800 43 | 1 2895 44 | 1 9803 45 | 2 8621 46 | 4 47 | 4 48 | 6 49 | 2 5382 50 | 2 2303 51 | 6 52 | 6 53 | 1 3820 54 | 1 -3800 55 | 1 -3800 56 | 4 57 | 4 58 | 4 59 | 2 1490 60 | 2 -7657 61 | 1 4752 62 | 6 63 | 1 -4643 64 | 6 65 | 2 5584 66 | 6 67 | 1 6883 68 | 4 69 | 2 -8128 70 | 6 71 | 1 5301 72 | 6 73 | 4 74 | 4 75 | 4 76 | 2 5219 77 | 4 78 | 4 79 | 1 -1468 80 | 4 81 | 4 82 | 1 -1717 83 | 4 84 | 6 85 | 6 86 | 6 87 | 2 -1005 88 | 1 -5073 89 | 2 -9881 90 | 6 91 | 4 92 | 6 93 | 4 94 | 2 272 95 | 2 -5783 96 | 1 -8244 97 | 2 8541 98 | 2 -8019 99 | 4 100 | 4 101 | 6 102 | 6433 9280 -8426 3320 -701 5049 -4416 -6216 3698 4077 -6963 -6046 5143 -4706 -7594 2410 7409 -7376 -9769 7047 8046 -1484 8700 5827 -7216 3811 -6202 3335 5622 -2767 2904 -9241 4544 5033 8616 6158 3749 -211 8412 -4915 4770 -4542 -2569 5477 6368 8758 5327 3223 -107 8060 4685 9596 -9240 6409 7840 2045 5203 -58 -3980 -2320 -2692 2246 9765 -4738 7401 -9112 7746 8507 -8939 -8087 -4611 3764 77 -4605 -3587 -9069 -4494 5301 295 -8594 6519 -1957 -8834 -9434 -5359 6034 4879 1534 -9275 3778 1678 -1518 -9436 -4935 -1618 -8628 -5384 -2161 -6254 6883 103 | 6 104 | 4 105 | 4 106 | 4 107 | 6 108 | 4 109 | 4 110 | 6 111 | 1 -2161 112 | 4 113 | 6 114 | 6 115 | 6 116 | 4 117 | 1 -4832 118 | 4 119 | 4 120 | 2 -9836 121 | 6 122 | 1 7401 123 | 4 124 | 6 125 | 1 -6202 126 | 1 6102 127 | 1 8014 128 | 4 129 | 6 130 | 1 -1518 131 | 2 -4439 132 | 6 133 | 6 134 | 2 3869 135 | 2 4250 136 | 6 137 | 2 -2422 138 | 4 139 | 6 140 | 2 -3500 141 | 1 7135 142 | 2 -3800 143 | 1 2895 144 | 1 9803 145 | 2 8621 146 | 4 147 | 4 148 | 6 149 | 2 5382 150 | 2 2303 151 | 6 152 | 6 153 | 1 3820 154 | 1 -3800 155 | 1 -3800 156 | 4 157 | 4 158 | 4 159 | 2 1490 160 | 2 -7657 161 | 1 4752 162 | 6 163 | 1 -4643 164 | 6 165 | 2 5584 166 | 6 167 | 1 6883 168 | 4 169 | 2 -8128 170 | 6 171 | 1 5301 172 | 6 173 | 4 174 | 4 175 | 4 176 | 2 5219 177 | 4 178 | 4 179 | 1 -1468 180 | 4 181 | 4 182 | 1 -1717 183 | 4 184 | 6 185 | 6 186 | 6 187 | 2 -1005 188 | 1 -5073 189 | 2 -9881 190 | 6 191 | 4 192 | 6 193 | 4 194 | 2 272 195 | 2 -5783 196 | 1 -8244 197 | 2 8541 198 | 2 -8019 199 | 4 200 | 4 201 | 6 202 | -------------------------------------------------------------------------------- /SKIPLIST/input/dbdata/dbinput_3.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 1959 87 -1616 -7639 -3473 1621 -7706 -7672 8491 -1929 4507 7738 -2212 8808 -1255 8176 -519 -8374 6456 4098 1092 5315 9658 -8169 2251 961 5673 6086 -756 7584 5976 -9963 2230 -1749 9081 9067 5410 -4019 -2503 2696 4297 527 -1026 -6540 1146 -6290 -7019 -6501 -1572 4294 -2314 -4181 7872 -4253 -9857 6459 8128 -585 -4692 1226 8802 -3672 9396 -5996 -4559 304 -9687 1189 5562 -3838 4670 -8201 9488 5697 8562 -5600 -9439 8269 -343 6673 -4165 7086 9339 -6555 -5065 6308 198 8912 -153 -8438 2797 -4528 -5319 2307 -9695 5718 4187 3342 9917 8632 3 | 1 -9002 4 | 2 -961 5 | 6 6 | 2 9386 7 | 6 8 | 6 9 | 2 1180 10 | 2 1784 11 | 1 8700 12 | 1 5673 13 | 5 14 | 2 -7529 15 | 6 16 | 6 17 | 1 1959 18 | 2 -4201 19 | 2 1414 20 | 1 -9687 21 | 6 22 | 6 23 | 1 -2503 24 | 2 6244 25 | 6 26 | 5 27 | 1 -6501 28 | 1 6459 29 | 1 -6355 30 | 2 -5793 31 | 1 -2524 32 | 1 -7496 33 | 5 34 | 1 3566 35 | 5 36 | 5 37 | 6 38 | 5 39 | 6 40 | 1 8224 41 | 6 42 | 2 8225 43 | 1 2333 44 | 5 45 | 5 46 | 1 2797 47 | 6 48 | 5 49 | 5 50 | 2 -4821 51 | 5 52 | 6 53 | 1 -7706 54 | 5 55 | 1 6244 56 | 5 57 | 1 -5658 58 | 1 -9439 59 | 1 3342 60 | 6 61 | 6 62 | 6 63 | 5 64 | 1 6086 65 | 5 66 | 5 67 | 5 68 | 6 69 | 1 -9857 70 | 5 71 | 5 72 | 2 9233 73 | 6 74 | 1 6244 75 | 2 -4813 76 | 1 -519 77 | 2 9643 78 | 1 5410 79 | 1 8302 80 | 6 81 | 5 82 | 1 -9442 83 | 2 8668 84 | 1 2385 85 | 1 685 86 | 5 87 | 2 -2114 88 | 6 89 | 2 5808 90 | 5 91 | 5 92 | 2 4177 93 | 1 2696 94 | 2 1946 95 | 2 8526 96 | 5 97 | 6 98 | 2 6120 99 | 6 100 | 1 1226 101 | 1 -5270 102 | 1959 87 -1616 -7639 -3473 1621 -7706 -7672 8491 -1929 4507 7738 -2212 8808 -1255 8176 -519 -8374 6456 4098 1092 5315 9658 -8169 2251 961 5673 6086 -756 7584 5976 -9963 2230 -1749 9081 9067 5410 -4019 -2503 2696 4297 527 -1026 -6540 1146 -6290 -7019 -6501 -1572 4294 -2314 -4181 7872 -4253 -9857 6459 8128 -585 -4692 1226 8802 -3672 9396 -5996 -4559 304 -9687 1189 5562 -3838 4670 -8201 9488 5697 8562 -5600 -9439 8269 -343 6673 -4165 7086 9339 -6555 -5065 6308 198 8912 -153 -8438 2797 -4528 -5319 2307 -9695 5718 4187 3342 9917 8632 103 | 1 -9002 104 | 2 -961 105 | 6 106 | 2 9386 107 | 6 108 | 6 109 | 2 1180 110 | 2 1784 111 | 1 8700 112 | 1 5673 113 | 5 114 | 2 -7529 115 | 6 116 | 6 117 | 1 1959 118 | 2 -4201 119 | 2 1414 120 | 1 -9687 121 | 6 122 | 6 123 | 1 -2503 124 | 2 6244 125 | 6 126 | 5 127 | 1 -6501 128 | 1 6459 129 | 1 -6355 130 | 2 -5793 131 | 1 -2524 132 | 1 -7496 133 | 5 134 | 1 3566 135 | 5 136 | 5 137 | 6 138 | 5 139 | 6 140 | 1 8224 141 | 6 142 | 2 8225 143 | 1 2333 144 | 5 145 | 5 146 | 1 2797 147 | 6 148 | 5 149 | 5 150 | 2 -4821 151 | 5 152 | 6 153 | 1 -7706 154 | 5 155 | 1 6244 156 | 5 157 | 1 -5658 158 | 1 -9439 159 | 1 3342 160 | 6 161 | 6 162 | 6 163 | 5 164 | 1 6086 165 | 5 166 | 5 167 | 5 168 | 6 169 | 1 -9857 170 | 5 171 | 5 172 | 2 9233 173 | 6 174 | 1 6244 175 | 2 -4813 176 | 1 -519 177 | 2 9643 178 | 1 5410 179 | 1 8302 180 | 6 181 | 5 182 | 1 -9442 183 | 2 8668 184 | 1 2385 185 | 1 685 186 | 5 187 | 2 -2114 188 | 6 189 | 2 5808 190 | 5 191 | 5 192 | 2 4177 193 | 1 2696 194 | 2 1946 195 | 2 8526 196 | 5 197 | 6 198 | 2 6120 199 | 6 200 | 1 1226 201 | 1 -5270 202 | -------------------------------------------------------------------------------- /SKIPLIST/input/dbdata/dbinput_4.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | -2663 -1025 -2725 -6348 -8016 -8099 3751 3064 6390 -8960 -6741 -5708 3897 33 -8396 -2723 3834 279 -766 4349 7683 4081 -9351 9926 -2881 -4676 -3214 -7666 -8929 -5270 9938 -1095 505 -1802 7152 9595 1292 -8373 7858 -5436 8891 -3188 2929 -1785 5926 3879 8715 2906 4407 1716 3590 616 8393 -2574 386 7611 2877 -8652 -9259 5884 5225 -4447 -8782 4701 -2077 -8890 5584 9411 -4416 -7499 -2113 -6552 7763 -4787 7613 -3007 9950 2170 -4735 -8420 6926 5350 -2072 -5375 5250 -7646 -2002 6234 -6709 -8106 -4336 -4389 -5599 -2282 -7463 5191 -8692 -6162 -6918 -7589 3 | 6 4 | 1 2877 5 | 1 9488 6 | 5 7 | 2 -6495 8 | 2 -6361 9 | 6 10 | 5 11 | 6 12 | 6 13 | 3 4081 14 | 5 15 | 3 -1785 16 | 2 6418 17 | 5 18 | 2 4276 19 | 2 7481 20 | 4 21 | 4 22 | 5 23 | 5 24 | 6 25 | 3 -7463 26 | 4 27 | 1 -4735 28 | 3 -8396 29 | 5 30 | 4 31 | 4 32 | 3 -7499 33 | 1 7611 34 | 2 -6303 35 | 1 2316 36 | 2 -2116 37 | 1 1228 38 | 4 39 | 4 40 | 5 41 | 1 -1390 42 | 6 43 | 6 44 | 3 -2077 45 | 2 -9702 46 | 6 47 | 3 -8373 48 | 3 -5436 49 | 1 -3259 50 | 2 -3777 51 | 1 5350 52 | 1 1501 53 | 1 9193 54 | 5 55 | 6 56 | 4 57 | 6 58 | 3 -2723 59 | 4 60 | 4 61 | 4 62 | 4 63 | 5 64 | 6 65 | 1 -5599 66 | 5 67 | 1 4259 68 | 5 69 | 1 -2282 70 | 5 71 | 2 2679 72 | 1 -1371 73 | 2 -1250 74 | 3 5884 75 | 5 76 | 5 77 | 2 -6884 78 | 4 79 | 4 80 | 3 2906 81 | 4 82 | 1 -6918 83 | 4 84 | 3 -3007 85 | 2 8800 86 | 1 -9438 87 | 6 88 | 4 89 | 6 90 | 3 -2282 91 | 6 92 | 3 -1095 93 | 2 2847 94 | 3 -6741 95 | 5 96 | 3 4276 97 | 5 98 | 6 99 | 3 2679 100 | 1 5225 101 | 6 102 | -2663 -1025 -2725 -6348 -8016 -8099 3751 3064 6390 -8960 -6741 -5708 3897 33 -8396 -2723 3834 279 -766 4349 7683 4081 -9351 9926 -2881 -4676 -3214 -7666 -8929 -5270 9938 -1095 505 -1802 7152 9595 1292 -8373 7858 -5436 8891 -3188 2929 -1785 5926 3879 8715 2906 4407 1716 3590 616 8393 -2574 386 7611 2877 -8652 -9259 5884 5225 -4447 -8782 4701 -2077 -8890 5584 9411 -4416 -7499 -2113 -6552 7763 -4787 7613 -3007 9950 2170 -4735 -8420 6926 5350 -2072 -5375 5250 -7646 -2002 6234 -6709 -8106 -4336 -4389 -5599 -2282 -7463 5191 -8692 -6162 -6918 -7589 103 | 6 104 | 1 2877 105 | 1 9488 106 | 5 107 | 2 -6495 108 | 2 -6361 109 | 6 110 | 5 111 | 6 112 | 6 113 | 3 4081 114 | 5 115 | 3 -1785 116 | 2 6418 117 | 5 118 | 2 4276 119 | 2 7481 120 | 4 121 | 4 122 | 5 123 | 5 124 | 6 125 | 3 -7463 126 | 4 127 | 1 -4735 128 | 3 -8396 129 | 5 130 | 4 131 | 4 132 | 3 -7499 133 | 1 7611 134 | 2 -6303 135 | 1 2316 136 | 2 -2116 137 | 1 1228 138 | 4 139 | 4 140 | 5 141 | 1 -1390 142 | 6 143 | 6 144 | 3 -2077 145 | 2 -9702 146 | 6 147 | 3 -8373 148 | 3 -5436 149 | 1 -3259 150 | 2 -3777 151 | 1 5350 152 | 1 1501 153 | 1 9193 154 | 5 155 | 6 156 | 4 157 | 6 158 | 3 -2723 159 | 4 160 | 4 161 | 4 162 | 4 163 | 5 164 | 6 165 | 1 -5599 166 | 5 167 | 1 4259 168 | 5 169 | 1 -2282 170 | 5 171 | 2 2679 172 | 1 -1371 173 | 2 -1250 174 | 3 5884 175 | 5 176 | 5 177 | 2 -6884 178 | 4 179 | 4 180 | 3 2906 181 | 4 182 | 1 -6918 183 | 4 184 | 3 -3007 185 | 2 8800 186 | 1 -9438 187 | 6 188 | 4 189 | 6 190 | 3 -2282 191 | 6 192 | 3 -1095 193 | 2 2847 194 | 3 -6741 195 | 5 196 | 3 4276 197 | 5 198 | 6 199 | 3 2679 200 | 1 5225 201 | 6 202 | -------------------------------------------------------------------------------- /SKIPLIST/input/duplicate/input_0.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 8723 -8933 4053 5812 8942 -9514 -3247 5157 6098 -907 -4750 -8873 7061 6059 740 -7507 -1809 1834 -8540 3775 -5456 9765 1635 2504 3803 -707 -1405 4969 -4277 -68 1881 -5643 4972 -2156 4406 2295 -8550 9101 -9868 -2279 -5610 -3612 -76 7574 1997 -2130 301 7989 4766 4287 5400 -7871 9154 639 6446 -4875 -2651 3528 -2189 -8791 -8960 6272 -132 9879 -7640 7481 -7348 -5096 2596 8587 2260 9703 -5096 -6300 -6835 4468 -4549 -3744 1425 4196 3568 4601 -1957 -999 -5298 7100 -4153 -6085 -1251 4933 -86 -4596 -4289 -4230 5733 1389 749 4244 -2671 -9836 3 | 6 4 | 6 5 | 1 867 6 | 1 -7871 7 | 6 8 | 1 2798 9 | 2 -2090 10 | 6 11 | 6 12 | 2 7042 13 | 2 9729 14 | 2 -7944 15 | 1 6036 16 | 2 -5552 17 | 2 7737 18 | 6 19 | 2 7651 20 | 2 6052 21 | 6 22 | 1 639 23 | 1 6098 24 | 1 6059 25 | 6 26 | 2 5894 27 | 1 5028 28 | 6 29 | 2 1246 30 | 6 31 | 2 5015 32 | 2 760 33 | 6 34 | 6 35 | 6 36 | 1 8942 37 | 6 38 | 1 9284 39 | 6 40 | 2 -9184 41 | 1 1246 42 | 1 -520 43 | 1 9570 44 | 1 6272 45 | 1 1828 46 | 1 4468 47 | 1 7061 48 | 6 49 | 2 5196 50 | 6 51 | 6 52 | 6 53 | 6 54 | 2 4667 55 | 6 56 | 6 57 | 6 58 | 1 -1288 59 | 1 1425 60 | 2 2512 61 | 6 62 | 1 -7701 63 | 1 301 64 | 2 3899 65 | 1 9101 66 | 6 67 | 2 6630 68 | 2 3256 69 | 2 1191 70 | 2 -922 71 | 2 4639 72 | 2 9240 73 | 2 -7250 74 | 6 75 | 6 76 | 6 77 | 2 3279 78 | 1 9756 79 | 6 80 | 6 81 | 1 9514 82 | 2 -9466 83 | 6 84 | 2 554 85 | 1 2993 86 | 2 9848 87 | 1 3803 88 | 6 89 | 1 -2796 90 | 1 -9184 91 | 6 92 | 1 4766 93 | 6 94 | 6 95 | 2 -8439 96 | 6 97 | 6 98 | 6 99 | 1 -8803 100 | 2 635 101 | 6 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/duplicate/input_1.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | -4383 -4832 -6153 9859 1318 -4617 -8980 7586 6748 1447 -7110 3022 4393 8936 1393 -8046 -5232 4573 5427 9983 4798 4480 9797 -4263 1592 3879 1250 8309 6803 5020 2721 -3632 -6821 4185 -5001 -8646 -3858 -3770 8678 4049 1802 8321 2324 -8365 9837 -8302 -4578 189 -2683 -8377 9005 -4209 -6735 8499 1811 -3920 -84 -8599 2969 9597 4049 -7453 1316 -3613 6110 -4666 -4483 3291 5342 756 -8777 -4328 -4227 9051 3783 -4983 6821 2843 -6911 2995 -6121 -2298 -6500 3849 185 -499 7484 -6754 1324 7098 5571 9917 -1988 7449 -477 -9600 -4821 2661 -2500 -6825 3 | 6 4 | 6 5 | 3 4393 6 | 6 7 | 3 -4983 8 | 1 3879 9 | 6 10 | 6 11 | 6 12 | 1 1318 13 | 1 -4263 14 | 6 15 | 1 -7453 16 | 1 8678 17 | 1 -1909 18 | 3 -6121 19 | 6 20 | 6 21 | 6 22 | 3 -4328 23 | 1 9859 24 | 1 9005 25 | 1 -9521 26 | 6 27 | 6 28 | 1 3819 29 | 6 30 | 1 -8271 31 | 6 32 | 3 9597 33 | 3 1592 34 | 1 3069 35 | 3 -4821 36 | 6 37 | 3 9917 38 | 1 -4263 39 | 1 -3770 40 | 1 1393 41 | 6 42 | 1 -571 43 | 3 -4383 44 | 6 45 | 3 1324 46 | 6 47 | 3 756 48 | 1 -8056 49 | 6 50 | 1 -3088 51 | 1 -6825 52 | 3 4480 53 | 1 2259 54 | 6 55 | 1 6110 56 | 1 7484 57 | 1 4792 58 | 6 59 | 1 1098 60 | 3 9797 61 | 1 6048 62 | 1 5389 63 | 1 6208 64 | 6 65 | 6 66 | 6 67 | 3 -4263 68 | 6 69 | 3 -4578 70 | 1 -8377 71 | 6 72 | 6 73 | 1 2455 74 | 1 -6153 75 | 3 -3613 76 | 1 5648 77 | 6 78 | 6 79 | 1 8499 80 | 3 1316 81 | 3 6803 82 | 6 83 | 1 3097 84 | 6 85 | 1 -2088 86 | 3 -5001 87 | 6 88 | 6 89 | 3 2969 90 | 1 -7775 91 | 6 92 | 1 9863 93 | 1 -7659 94 | 3 8936 95 | 1 5020 96 | 3 -7453 97 | 6 98 | 1 2661 99 | 3 1250 100 | 1 1811 101 | 1 668 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/duplicate/input_2.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 6433 9280 -8426 3320 -701 5049 -4416 -6216 3698 4077 -6963 -6046 5143 -4706 -7594 2410 7409 -7376 -9769 7047 8046 -1484 8700 5827 -7216 3811 -6202 3335 5622 -2767 2904 -9241 4544 5033 8616 6158 3749 -211 8412 -4915 4770 -4542 -2569 5477 6368 8758 5327 3223 -107 8060 4685 9596 -9240 6409 7840 2045 5203 -58 -3980 -2320 -2692 2246 9765 -4738 7401 -9112 7746 8507 -8939 -8087 -4611 3764 77 -4605 -3587 -9069 -4494 5301 295 -8594 6519 -1957 -8834 -9434 -5359 6034 4879 1534 -9275 3778 1678 -1518 -9436 -4935 -1618 -8628 -5384 -2161 -6254 6883 3 | 6 4 | 4 5 | 4 6 | 4 7 | 6 8 | 4 9 | 4 10 | 6 11 | 1 -2161 12 | 4 13 | 6 14 | 6 15 | 6 16 | 4 17 | 1 -4832 18 | 4 19 | 4 20 | 2 -9836 21 | 6 22 | 1 7401 23 | 4 24 | 6 25 | 1 -6202 26 | 1 6102 27 | 1 8014 28 | 4 29 | 6 30 | 1 -1518 31 | 2 -4439 32 | 6 33 | 6 34 | 2 3869 35 | 2 4250 36 | 6 37 | 2 -2422 38 | 4 39 | 6 40 | 2 -3500 41 | 1 7135 42 | 2 -3800 43 | 1 2895 44 | 1 9803 45 | 2 8621 46 | 4 47 | 4 48 | 6 49 | 2 5382 50 | 2 2303 51 | 6 52 | 6 53 | 1 3820 54 | 1 -3800 55 | 1 -3800 56 | 4 57 | 4 58 | 4 59 | 2 1490 60 | 2 -7657 61 | 1 4752 62 | 6 63 | 1 -4643 64 | 6 65 | 2 5584 66 | 6 67 | 1 6883 68 | 4 69 | 2 -8128 70 | 6 71 | 1 5301 72 | 6 73 | 4 74 | 4 75 | 4 76 | 2 5219 77 | 4 78 | 4 79 | 1 -1468 80 | 4 81 | 4 82 | 1 -1717 83 | 4 84 | 6 85 | 6 86 | 6 87 | 2 -1005 88 | 1 -5073 89 | 2 -9881 90 | 6 91 | 4 92 | 6 93 | 4 94 | 2 272 95 | 2 -5783 96 | 1 -8244 97 | 2 8541 98 | 2 -8019 99 | 4 100 | 4 101 | 6 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/duplicate/input_3.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 1959 87 -1616 -7639 -3473 1621 -7706 -7672 8491 -1929 4507 7738 -2212 8808 -1255 8176 -519 -8374 6456 4098 1092 5315 9658 -8169 2251 961 5673 6086 -756 7584 5976 -9963 2230 -1749 9081 9067 5410 -4019 -2503 2696 4297 527 -1026 -6540 1146 -6290 -7019 -6501 -1572 4294 -2314 -4181 7872 -4253 -9857 6459 8128 -585 -4692 1226 8802 -3672 9396 -5996 -4559 304 -9687 1189 5562 -3838 4670 -8201 9488 5697 8562 -5600 -9439 8269 -343 6673 -4165 7086 9339 -6555 -5065 6308 198 8912 -153 -8438 2797 -4528 -5319 2307 -9695 5718 4187 3342 9917 8632 3 | 1 -9002 4 | 2 -961 5 | 6 6 | 2 9386 7 | 6 8 | 6 9 | 2 1180 10 | 2 1784 11 | 1 8700 12 | 1 5673 13 | 5 14 | 2 -7529 15 | 6 16 | 6 17 | 1 1959 18 | 2 -4201 19 | 2 1414 20 | 1 -9687 21 | 6 22 | 6 23 | 1 -2503 24 | 2 6244 25 | 6 26 | 5 27 | 1 -6501 28 | 1 6459 29 | 1 -6355 30 | 2 -5793 31 | 1 -2524 32 | 1 -7496 33 | 5 34 | 1 3566 35 | 5 36 | 5 37 | 6 38 | 5 39 | 6 40 | 1 8224 41 | 6 42 | 2 8225 43 | 1 2333 44 | 5 45 | 5 46 | 1 2797 47 | 6 48 | 5 49 | 5 50 | 2 -4821 51 | 5 52 | 6 53 | 1 -7706 54 | 5 55 | 1 6244 56 | 5 57 | 1 -5658 58 | 1 -9439 59 | 1 3342 60 | 6 61 | 6 62 | 6 63 | 5 64 | 1 6086 65 | 5 66 | 5 67 | 5 68 | 6 69 | 1 -9857 70 | 5 71 | 5 72 | 2 9233 73 | 6 74 | 1 6244 75 | 2 -4813 76 | 1 -519 77 | 2 9643 78 | 1 5410 79 | 1 8302 80 | 6 81 | 5 82 | 1 -9442 83 | 2 8668 84 | 1 2385 85 | 1 685 86 | 5 87 | 2 -2114 88 | 6 89 | 2 5808 90 | 5 91 | 5 92 | 2 4177 93 | 1 2696 94 | 2 1946 95 | 2 8526 96 | 5 97 | 6 98 | 2 6120 99 | 6 100 | 1 1226 101 | 1 -5270 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/duplicate/input_4.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | -2663 -1025 -2725 -6348 -8016 -8099 3751 3064 6390 -8960 -6741 -5708 3897 33 -8396 -2723 3834 279 -766 4349 7683 4081 -9351 9926 -2881 -4676 -3214 -7666 -8929 -5270 9938 -1095 505 -1802 7152 9595 1292 -8373 7858 -5436 8891 -3188 2929 -1785 5926 3879 8715 2906 4407 1716 3590 616 8393 -2574 386 7611 2877 -8652 -9259 5884 5225 -4447 -8782 4701 -2077 -8890 5584 9411 -4416 -7499 -2113 -6552 7763 -4787 7613 -3007 9950 2170 -4735 -8420 6926 5350 -2072 -5375 5250 -7646 -2002 6234 -6709 -8106 -4336 -4389 -5599 -2282 -7463 5191 -8692 -6162 -6918 -7589 3 | 6 4 | 1 2877 5 | 1 9488 6 | 5 7 | 2 -6495 8 | 2 -6361 9 | 6 10 | 5 11 | 6 12 | 6 13 | 3 4081 14 | 5 15 | 3 -1785 16 | 2 6418 17 | 5 18 | 2 4276 19 | 2 7481 20 | 4 21 | 4 22 | 5 23 | 5 24 | 6 25 | 3 -7463 26 | 4 27 | 1 -4735 28 | 3 -8396 29 | 5 30 | 4 31 | 4 32 | 3 -7499 33 | 1 7611 34 | 2 -6303 35 | 1 2316 36 | 2 -2116 37 | 1 1228 38 | 4 39 | 4 40 | 5 41 | 1 -1390 42 | 6 43 | 6 44 | 3 -2077 45 | 2 -9702 46 | 6 47 | 3 -8373 48 | 3 -5436 49 | 1 -3259 50 | 2 -3777 51 | 1 5350 52 | 1 1501 53 | 1 9193 54 | 5 55 | 6 56 | 4 57 | 6 58 | 3 -2723 59 | 4 60 | 4 61 | 4 62 | 4 63 | 5 64 | 6 65 | 1 -5599 66 | 5 67 | 1 4259 68 | 5 69 | 1 -2282 70 | 5 71 | 2 2679 72 | 1 -1371 73 | 2 -1250 74 | 3 5884 75 | 5 76 | 5 77 | 2 -6884 78 | 4 79 | 4 80 | 3 2906 81 | 4 82 | 1 -6918 83 | 4 84 | 3 -3007 85 | 2 8800 86 | 1 -9438 87 | 6 88 | 4 89 | 6 90 | 3 -2282 91 | 6 92 | 3 -1095 93 | 2 2847 94 | 3 -6741 95 | 5 96 | 3 4276 97 | 5 98 | 6 99 | 3 2679 100 | 1 5225 101 | 6 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/non-duplicate/ninput_0.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 9361 533 7026 7906 9471 243 3376 7578 8049 4546 2625 563 8530 8029 5370 1246 4095 5917 730 6887 2272 9882 5817 6252 6901 4646 4297 7484 2861 4966 5940 2178 7486 3922 7203 10048 6147 725 9550 66 3860 2195 3194 4962 8787 5998 3935 5150 8994 7383 7143 7700 1064 9577 5319 8223 2562 3674 6764 3905 604 520 8136 4934 9939 1180 8740 1326 2452 6298 9293 6130 9851 1850 1582 7234 2725 3128 5712 7098 6784 7300 4021 4500 2351 8550 2923 1957 4374 7466 4957 2702 2855 2885 7866 5694 5374 7122 3664 82 3 | 6 4 | 6 5 | 1 867 6 | 1 7700 7 | 6 8 | 1 2798 9 | 2 -2090 10 | 6 11 | 6 12 | 2 7042 13 | 2 9729 14 | 2 -7944 15 | 1 6036 16 | 2 -5552 17 | 2 7737 18 | 6 19 | 2 7651 20 | 2 6052 21 | 6 22 | 1 9577 23 | 1 8049 24 | 1 8029 25 | 6 26 | 2 5894 27 | 1 5028 28 | 6 29 | 2 -1510 30 | 6 31 | 2 3871 32 | 2 7028 33 | 6 34 | 1 9471 35 | 6 36 | 1 9284 37 | 6 38 | 2 -9184 39 | 1 -1510 40 | 1 -520 41 | 1 9570 42 | 1 520 43 | 1 1828 44 | 1 7234 45 | 1 8530 46 | 6 47 | 2 5196 48 | 6 49 | 6 50 | 6 51 | 6 52 | 2 4667 53 | 6 54 | 6 55 | 6 56 | 1 -1288 57 | 1 5712 58 | 2 2512 59 | 6 60 | 1 -7701 61 | 1 3935 62 | 2 3899 63 | 1 725 64 | 6 65 | 2 6630 66 | 2 3256 67 | 2 1191 68 | 2 -922 69 | 2 4639 70 | 2 9240 71 | 2 -7250 72 | 6 73 | 6 74 | 6 75 | 2 3279 76 | 1 9756 77 | 6 78 | 6 79 | 1 9514 80 | 2 -9466 81 | 6 82 | 2 554 83 | 1 2993 84 | 2 9848 85 | 1 6901 86 | 6 87 | 1 -2796 88 | 1 -9184 89 | 6 90 | 1 8994 91 | 6 92 | 6 93 | 2 -8439 94 | 6 95 | 6 96 | 6 97 | 1 -8803 98 | 2 635 99 | 6 100 | 6 101 | 1 4374 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/non-duplicate/ninput_1.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 2691 510 8793 8374 5723 1445 6511 7196 9468 5696 977 2384 7286 7713 9991 7399 7240 9898 2868 5796 6939 5625 9154 8401 7510 6360 3184 1589 7092 2499 677 3071 3115 9339 7024 5901 9160 6162 817 9918 849 2711 5094 3658 811 9502 2895 1632 9249 5905 3040 4958 700 6484 9798 1273 5658 3193 8055 2667 2758 6645 7671 5378 611 2836 2886 9525 6891 2508 8410 6421 1544 6497 1939 3851 1750 6924 5092 4750 8742 1623 5662 8549 7785 9958 4006 8724 4761 200 2589 6330 3750 1587 8360 7771 1633 9452 6539 9548 3 | 1 7510 4 | 6 5 | 6 6 | 6 7 | 1 5723 8 | 1 9154 9 | 6 10 | 1 2758 11 | 1 6162 12 | 1 -1909 13 | 3 5092 14 | 6 15 | 6 16 | 6 17 | 3 8410 18 | 1 8374 19 | 1 5905 20 | 1 -9521 21 | 6 22 | 6 23 | 1 3819 24 | 6 25 | 1 -8271 26 | 6 27 | 3 8055 28 | 3 8401 29 | 1 3069 30 | 3 8360 31 | 6 32 | 3 200 33 | 1 9154 34 | 1 9160 35 | 1 7713 36 | 6 37 | 1 -571 38 | 3 2691 39 | 6 40 | 3 4006 41 | 6 42 | 3 6891 43 | 1 -8056 44 | 6 45 | 1 -3088 46 | 1 9452 47 | 3 6939 48 | 1 2259 49 | 6 50 | 1 5378 51 | 1 7785 52 | 1 4792 53 | 6 54 | 1 1098 55 | 3 5625 56 | 1 6048 57 | 1 5389 58 | 1 6208 59 | 6 60 | 6 61 | 6 62 | 3 9154 63 | 6 64 | 3 9502 65 | 1 9548 66 | 3 1750 67 | 6 68 | 1 2455 69 | 1 8793 70 | 3 7671 71 | 1 5648 72 | 6 73 | 6 74 | 1 700 75 | 3 6645 76 | 3 1589 77 | 6 78 | 1 3097 79 | 6 80 | 1 -2088 81 | 3 9339 82 | 6 83 | 6 84 | 3 3193 85 | 1 -7775 86 | 6 87 | 1 9863 88 | 1 -7659 89 | 3 7286 90 | 1 7092 91 | 3 2758 92 | 6 93 | 1 1633 94 | 3 6360 95 | 1 6484 96 | 1 668 97 | 6 98 | 6 99 | 6 100 | 1 3320 101 | 3 2499 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/non-duplicate/ninput_2.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 1892 6849 7038 1518 1977 7571 2647 1203 6205 8704 1312 115 8523 9023 4258 9350 7913 1392 6905 1899 6667 7811 3616 6452 379 7272 7516 9308 8079 6874 4894 9206 2542 7385 2729 3715 7738 8184 9379 7663 6611 4946 9030 7342 9798 380 8204 8920 6022 7601 4971 3010 3840 3654 6123 9882 2631 8700 444 8873 9253 530 956 2694 6882 5038 2697 3206 465 2753 7650 5147 703 8259 4021 583 283 2320 8017 7439 5767 362 6889 5839 4241 282 2532 4191 686 2308 3919 1873 8441 7755 4857 5743 5246 9045 6986 5388 3 | 4 4 | 6 5 | 1 7755 6 | 4 7 | 6 8 | 6 9 | 6 10 | 4 11 | 1 -4832 12 | 4 13 | 4 14 | 2 -9836 15 | 6 16 | 1 2694 17 | 4 18 | 6 19 | 1 9308 20 | 1 6102 21 | 1 8014 22 | 4 23 | 6 24 | 1 686 25 | 2 -4439 26 | 6 27 | 6 28 | 2 3869 29 | 2 4250 30 | 6 31 | 2 -2422 32 | 4 33 | 6 34 | 2 -3500 35 | 1 7135 36 | 2 -3800 37 | 1 2895 38 | 1 9803 39 | 2 8621 40 | 4 41 | 4 42 | 6 43 | 2 5382 44 | 2 2303 45 | 6 46 | 6 47 | 1 3820 48 | 1 6986 49 | 1 6986 50 | 4 51 | 4 52 | 4 53 | 2 1490 54 | 2 -7657 55 | 1 4752 56 | 6 57 | 1 -4643 58 | 6 59 | 2 5584 60 | 6 61 | 1 1873 62 | 4 63 | 2 -8128 64 | 6 65 | 1 703 66 | 6 67 | 4 68 | 4 69 | 4 70 | 2 5219 71 | 4 72 | 4 73 | 1 -1468 74 | 4 75 | 4 76 | 1 -1717 77 | 4 78 | 6 79 | 6 80 | 6 81 | 2 -1005 82 | 1 -5073 83 | 2 -9881 84 | 6 85 | 4 86 | 6 87 | 4 88 | 2 272 89 | 2 -5783 90 | 1 -8244 91 | 2 8541 92 | 2 -8019 93 | 4 94 | 4 95 | 6 96 | 4 97 | 4 98 | 4 99 | 1 -3473 100 | 4 101 | 1 -7672 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/non-duplicate/ninput_3.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 4035 7253 8869 3894 9404 4372 9088 4740 813 8228 7049 5546 7657 9829 915 6125 5480 7836 8043 4622 8792 7988 18 6115 4125 9540 9533 7705 2990 3748 6348 7148 5263 4487 1730 5573 1855 1490 1749 4214 7147 3843 2909 8936 2873 71 8229 9064 4707 2654 5613 9401 3164 9698 2002 2720 5152 156 5594 7781 3081 7335 899 9744 7848 9281 2200 280 9134 4828 8336 2917 8543 9669 1722 2467 8154 5099 9456 4923 781 6398 2736 2340 6153 152 7859 7093 6671 9958 9316 267 499 9554 2698 4519 6646 3144 9693 8370 3 | 6 4 | 6 5 | 2 1180 6 | 2 1784 7 | 1 8700 8 | 1 9533 9 | 5 10 | 2 -7529 11 | 6 12 | 6 13 | 1 4035 14 | 2 -4201 15 | 2 1414 16 | 1 2200 17 | 6 18 | 6 19 | 1 1749 20 | 2 6244 21 | 6 22 | 5 23 | 1 9064 24 | 1 2720 25 | 1 -6355 26 | 2 -5793 27 | 1 -2524 28 | 1 -7496 29 | 5 30 | 1 3566 31 | 5 32 | 5 33 | 6 34 | 5 35 | 6 36 | 1 8224 37 | 6 38 | 2 8225 39 | 1 2333 40 | 5 41 | 5 42 | 1 9316 43 | 6 44 | 5 45 | 5 46 | 2 -4821 47 | 5 48 | 6 49 | 1 4740 50 | 5 51 | 1 8225 52 | 5 53 | 1 -5658 54 | 1 8154 55 | 1 1180 56 | 6 57 | 6 58 | 6 59 | 5 60 | 1 2990 61 | 5 62 | 5 63 | 5 64 | 6 65 | 1 5152 66 | 5 67 | 5 68 | 2 9233 69 | 6 70 | 1 -4821 71 | 2 -4813 72 | 1 7836 73 | 2 9643 74 | 1 1855 75 | 1 8302 76 | 6 77 | 5 78 | 1 -9442 79 | 2 8668 80 | 1 2385 81 | 1 685 82 | 5 83 | 2 -2114 84 | 6 85 | 2 5808 86 | 5 87 | 5 88 | 2 4177 89 | 1 4214 90 | 2 1946 91 | 2 8526 92 | 5 93 | 6 94 | 2 6120 95 | 6 96 | 1 7335 97 | 1 -5270 98 | 2 -1025 99 | 2 -6348 100 | 1 -8099 101 | 6 102 | -------------------------------------------------------------------------------- /SKIPLIST/input/non-duplicate/ninput_4.txt: -------------------------------------------------------------------------------- 1 | 100 100 2 | 8195 520 1629 2146 6948 5016 802 3638 6917 5139 4617 7174 10070 8841 7040 324 9963 3559 2662 3393 1167 535 10048 2365 9969 4452 5252 4099 8576 9797 5646 813 8929 2282 9445 3406 6464 4107 7963 6939 9357 6453 7203 5858 6795 5308 9196 3713 5193 8805 6438 674 370 7942 7612 2776 609 7350 3961 555 7792 9705 2792 1250 3943 1724 8881 2606 8806 3496 9975 6085 10002 2632 790 8463 7675 3964 2312 7625 1177 3999 8117 1645 947 2832 2805 2200 3859 1268 7595 654 1919 1541 1205 994 1653 7849 7229 9744 3 | 5 4 | 5 5 | 2 -6495 6 | 2 -6361 7 | 6 8 | 5 9 | 6 10 | 6 11 | 3 2365 12 | 5 13 | 3 5858 14 | 2 6418 15 | 5 16 | 2 4276 17 | 2 7481 18 | 4 19 | 4 20 | 5 21 | 5 22 | 6 23 | 3 1541 24 | 4 25 | 1 3964 26 | 3 7040 27 | 5 28 | 4 29 | 4 30 | 3 8881 31 | 1 2776 32 | 2 -6303 33 | 1 2316 34 | 2 -2116 35 | 1 1228 36 | 4 37 | 4 38 | 5 39 | 1 -1390 40 | 6 41 | 6 42 | 3 2792 43 | 2 -9702 44 | 6 45 | 3 7963 46 | 3 9357 47 | 1 -3259 48 | 2 -3777 49 | 1 2312 50 | 1 1501 51 | 1 9193 52 | 5 53 | 6 54 | 4 55 | 6 56 | 3 2662 57 | 4 58 | 4 59 | 4 60 | 4 61 | 5 62 | 6 63 | 1 3859 64 | 5 65 | 1 4259 66 | 5 67 | 1 1268 68 | 5 69 | 2 2679 70 | 1 -1371 71 | 2 -1250 72 | 3 3961 73 | 5 74 | 5 75 | 2 -6884 76 | 4 77 | 4 78 | 3 5308 79 | 4 80 | 1 7595 81 | 4 82 | 3 790 83 | 2 8800 84 | 1 -9438 85 | 6 86 | 4 87 | 6 88 | 3 1268 89 | 6 90 | 3 3406 91 | 2 2847 92 | 3 5139 93 | 5 94 | 3 7849 95 | 5 96 | 6 97 | 3 7350 98 | 1 3943 99 | 6 100 | 3 1167 101 | 5 102 | -------------------------------------------------------------------------------- /SKIPLIST/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/main.cpp -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_0.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_1.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_2.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_3.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_4.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_5.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_6.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_7.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_8.txt -------------------------------------------------------------------------------- /SKIPLIST/output/dboutput_9.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/dboutput_9.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_0.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_1.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_2.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_3.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_4.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_5.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_6.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_7.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_8.txt -------------------------------------------------------------------------------- /SKIPLIST/output/non-duplicate/noutput_9.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/non-duplicate/noutput_9.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_0.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_1.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_2.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_3.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_4.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_5.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_6.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_7.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_8.txt -------------------------------------------------------------------------------- /SKIPLIST/output/output_9.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/SKIPLIST/output/output_9.txt -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/Debug/OILBOSTERR.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/Debug/OILBOSTERR.exe -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/Debug/OILBOSTERR.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/Debug/OILBOSTERR.ilk -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/Debug/OILBOSTERR.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/Debug/OILBOSTERR.pdb -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31129.286 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OILBOSTERR", "OILBOSTERR\OILBOSTERR.vcxproj", "{5AAB1DD4-A42A-4575-A199-A860B9286A89}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Debug|x64.ActiveCfg = Debug|x64 17 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Debug|x64.Build.0 = Debug|x64 18 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Debug|x86.ActiveCfg = Debug|Win32 19 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Debug|x86.Build.0 = Debug|Win32 20 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Release|x64.ActiveCfg = Release|x64 21 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Release|x64.Build.0 = Release|x64 22 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Release|x86.ActiveCfg = Release|Win32 23 | {5AAB1DD4-A42A-4575-A199-A860B9286A89}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {2439CD07-3ECD-463C-B059-28927BA801E2} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.exe.recipe: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | F:\vscpp\OILBOSTERR\Debug\OILBOSTERR.exe 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.log: -------------------------------------------------------------------------------- 1 |  main.cpp 2 | F:\vscpp\OILBOSTERR\OILBOSTERR\graph.h(338,20): warning C4018: “<”: 有符号/无符号不匹配 3 | F:\vscpp\OILBOSTERR\OILBOSTERR\graph.h(361,20): warning C4018: “<”: 有符号/无符号不匹配 4 | OILBOSTERR.vcxproj -> F:\vscpp\OILBOSTERR\Debug\OILBOSTERR.exe 5 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/OILBOSTERR.lastbuildstate: -------------------------------------------------------------------------------- 1 | PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.28.29910:TargetPlatformVersion=10.0.19041.0: 2 | Debug|Win32|F:\vscpp\OILBOSTERR\| 3 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/OILBOSTERR.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/main.obj -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/vc142.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/vc142.idb -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/Debug/vc142.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/Debug/vc142.pdb -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/OILBOSTERR.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 16.0 23 | Win32Proj 24 | {5aab1dd4-a42a-4575-a199-a860b9286a89} 25 | OILBOSTERR 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v142 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v142 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v142 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v142 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | false 78 | 79 | 80 | true 81 | 82 | 83 | false 84 | 85 | 86 | 87 | Level3 88 | true 89 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 90 | true 91 | 92 | 93 | Console 94 | true 95 | 96 | 97 | 98 | 99 | Level3 100 | true 101 | true 102 | true 103 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 104 | true 105 | 106 | 107 | Console 108 | true 109 | true 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 118 | true 119 | 120 | 121 | Console 122 | true 123 | 124 | 125 | 126 | 127 | Level3 128 | true 129 | true 130 | true 131 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 132 | true 133 | 134 | 135 | Console 136 | true 137 | true 138 | true 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/OILBOSTERR.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 头文件 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 29 | 30 | 源文件 31 | 32 | 33 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/OILBOSTERR.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/cost1.txt: -------------------------------------------------------------------------------- 1 | 1 1.4408 2 | 2 0.8821 3 | 3 2.6305 4 | 4 0.3614 5 | 5 1.8447 6 | 6 1.3161 7 | 7 2.9247 8 | 8 1.1781 9 | 9 0.9241 10 | 10 1.3129 11 | 11 1.1808 12 | 12 0.4683 13 | 13 0.7573 14 | 14 0.721 15 | 15 0.3374 16 | 16 0.3999 17 | 17 0.3605 18 | 18 3.1282 19 | 19 1.7524 20 | 20 1.5185 21 | 21 0.4586 22 | 22 0.5605 23 | 23 0.7087 24 | 24 0.5536 25 | 25 0.3828 26 | 26 0.9088 27 | 27 0.8041 28 | 28 0.8891 29 | 29 1.6283 30 | 30 0.3184 31 | 31 0.9424 32 | 32 0.8161 33 | 33 3.0068 34 | 34 1.5305 35 | 35 4.1641 36 | 36 2.5363 37 | 37 7.2811 38 | 38 5.1651 39 | 39 1.0649 40 | 40 0.3645 41 | 41 0.3127 42 | 42 1.9641 43 | 43 4.9077 44 | 44 1.1691 45 | 45 0.3662 46 | 46 0.61 47 | 47 0.7826 48 | 48 3.4927 49 | 49 0.8556 50 | 50 2.9387 51 | 51 1.9445 52 | 52 0.3397 53 | 53 2.223 54 | 54 0.5743 55 | 55 0.4858 56 | 56 1.7124 57 | 57 0.7851 58 | 58 1.0475 59 | 59 0.4667 60 | 60 0.6954 61 | 61 2.3129 62 | 62 0.8463 63 | 63 1.5626 64 | 64 0.4184 65 | 65 1.7612 66 | 66 4.3601 67 | 67 0.6568 68 | 68 2.0769 69 | 69 3.0702 70 | 70 1.3643 71 | 71 3.732 72 | 72 1.5117 73 | 73 0.8545 74 | 74 1.2465 75 | 75 1.949 76 | 76 3.0983 77 | 77 2.1993 78 | 78 1.5884 79 | 79 0.798 80 | 80 5.4998 81 | 81 2.6474 82 | 82 0.3606 83 | 83 0.6614 84 | 84 3.2659 85 | 85 2.7101 86 | 86 0.3864 87 | 87 0.788 88 | 88 1.8696 89 | 89 0.7757 90 | 90 0.737 91 | 91 0.7531 92 | 92 2.3877 93 | 93 1.0748 94 | 94 0.5818 95 | 95 0.5423 96 | 96 0.65 97 | 97 0.3851 98 | 98 6.5109 99 | 99 1.0659 100 | 100 1.6439 101 | 1 1.4307 102 | 2 1.4315 103 | 3 1.8898 104 | 4 0.669 105 | 5 2.7533 106 | 6 1.7563 107 | 7 3.2511 108 | 8 1.5364 109 | 9 0.9987 110 | 10 1.3967 111 | 11 1.2198 112 | 12 0.4391 113 | 13 1.8101 114 | 14 0.8862 115 | 15 0.4591 116 | 16 0.4932 117 | 17 0.326 118 | 18 2.6459 119 | 19 1.7375 120 | 20 1.5918 121 | 21 0.4488 122 | 22 0.3829 123 | 23 0.5366 124 | 24 0.3716 125 | 25 0.3781 126 | 26 1.1713 127 | 27 0.7528 128 | 28 0.9263 129 | 29 1.8255 130 | 30 0.379 131 | 31 1.0589 132 | 32 0.6807 133 | 33 3.1232 134 | 34 1.5539 135 | 35 4.039 136 | 36 1.7445 137 | 37 6.8164 138 | 38 3.5625 139 | 39 0.9248 140 | 40 0.3541 141 | 41 0.3027 142 | 42 1.8234 143 | 43 5.1988 144 | 44 1.8766 145 | 45 0.3076 146 | 46 0.7546 147 | 47 0.9652 148 | 48 3.2238 149 | 49 0.6554 150 | 50 3.023 151 | 51 1.7305 152 | 52 0.3388 153 | 53 1.1194 154 | 54 0.7971 155 | 55 0.6799 156 | 56 1.7943 157 | 57 0.7772 158 | 58 1.0318 159 | 59 0.4863 160 | 60 1.0495 161 | 61 2.5515 162 | 62 1.234 163 | 63 2.1191 164 | 64 0.2277 165 | 65 3.0737 166 | 66 6.8264 167 | 67 0.6724 168 | 68 1.8655 169 | 69 1.9315 170 | 70 1.1181 171 | 71 3.775 172 | 72 1.2122 173 | 73 1.2474 174 | 74 1.0839 175 | 75 1.5447 176 | 76 2.1158 177 | 77 1.4194 178 | 78 1.6354 179 | 79 0.5963 180 | 80 3.7294 181 | 81 2.2987 182 | 82 0.5268 183 | 83 0.6897 184 | 84 3.411 185 | 85 2.2382 186 | 86 0.2778 187 | 87 0.5575 188 | 88 1.6965 189 | 89 0.7289 190 | 90 2.3484 191 | 91 0.795 192 | 92 2.6686 193 | 93 0.6811 194 | 94 0.7761 195 | 95 0.6654 196 | 96 1.845 197 | 97 0.3853 198 | 98 7.1625 199 | 99 1.4009 200 | 100 2.3433 201 | 1 1.3651 202 | 2 0.7532 203 | 3 1.4474 204 | 4 0.3408 205 | 5 1.7345 206 | 6 0.8219 207 | 7 2.5873 208 | 8 1.4466 209 | 9 0.6167 210 | 10 0.842 211 | 11 1.2219 212 | 12 0.4257 213 | 13 0.3992 214 | 14 0.4936 215 | 15 0.275 216 | 16 0.3653 217 | 17 0.2478 218 | 18 1.8524 219 | 19 1.172 220 | 20 0.9796 221 | 21 0.2631 222 | 22 0.2433 223 | 23 0.3286 224 | 24 0.283 225 | 25 0.3647 226 | 26 1.181 227 | 27 0.6858 228 | 28 0.6366 229 | 29 1.1093 230 | 30 0.1814 231 | 31 0.5418 232 | 32 0.5097 233 | 33 3.3607 234 | 34 1.0705 235 | 35 2.6542 236 | 36 1.4669 237 | 37 5.0487 238 | 38 2.6904 239 | 39 0.5932 240 | 40 0.3552 241 | 41 0.2135 242 | 42 1.1686 243 | 43 3.6205 244 | 44 1.1549 245 | 45 0.1916 246 | 46 0.3989 247 | 47 0.4704 248 | 48 3.3617 249 | 49 0.5976 250 | 50 2.0032 251 | 51 1.1775 252 | 52 0.336 253 | 53 1.5014 254 | 54 0.3646 255 | 55 0.4494 256 | 56 1.5324 257 | 57 0.5579 258 | 58 1.0592 259 | 59 0.313 260 | 60 1.0314 261 | 61 1.5717 262 | 62 0.808 263 | 63 1.1497 264 | 64 0.1515 265 | 65 1.6511 266 | 66 4.1849 267 | 67 0.4277 268 | 68 1.6989 269 | 69 1.8053 270 | 70 0.8061 271 | 71 3.5808 272 | 72 1.2213 273 | 73 0.5556 274 | 74 0.6784 275 | 75 1.1124 276 | 76 1.9593 277 | 77 2.0552 278 | 78 1.0244 279 | 79 0.5016 280 | 80 2.1656 281 | 81 1.437 282 | 82 0.2341 283 | 83 0.4265 284 | 84 2.2856 285 | 85 2.5612 286 | 86 0.1897 287 | 87 0.3001 288 | 88 1.7285 289 | 89 0.5656 290 | 90 0.4671 291 | 91 0.378 292 | 92 1.9049 293 | 93 0.8083 294 | 94 0.4729 295 | 95 0.6454 296 | 96 0.41 297 | 97 0.3698 298 | 98 4.9425 299 | 99 1.259 300 | 100 1.7592 301 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/cost2.txt: -------------------------------------------------------------------------------- 1 | 1 2.0514 2 | 2 0.9458 3 | 3 1.6166 4 | 4 0.4131 5 | 5 1.353 6 | 6 1.1304 7 | 7 2.5733 8 | 8 1.3075 9 | 9 0.9502 10 | 10 1.1084 11 | 11 1.4743 12 | 12 0.4655 13 | 13 0.8212 14 | 14 0.5113 15 | 15 0.346 16 | 16 0.3864 17 | 17 0.2015 18 | 18 1.5673 19 | 19 1.3411 20 | 20 1.2912 21 | 21 0.3345 22 | 22 0.2726 23 | 23 0.3806 24 | 24 0.2842 25 | 25 0.3477 26 | 26 1.0924 27 | 27 0.6114 28 | 28 0.9187 29 | 29 1.6935 30 | 30 0.2161 31 | 31 0.8812 32 | 32 0.654 33 | 33 2.8969 34 | 34 1.3848 35 | 35 2.6266 36 | 36 1.7333 37 | 37 4.532 38 | 38 2.6037 39 | 39 0.6218 40 | 40 0.2657 41 | 41 0.3048 42 | 42 1.7775 43 | 43 4.2558 44 | 44 1.1272 45 | 45 0.2077 46 | 46 0.5758 47 | 47 0.5885 48 | 48 3.0747 49 | 49 0.6264 50 | 50 2.5756 51 | 51 1.3515 52 | 52 0.2303 53 | 53 1.0985 54 | 54 0.5778 55 | 55 1.6644 56 | 56 1.6101 57 | 57 0.555 58 | 58 0.7477 59 | 59 0.3344 60 | 60 1.2315 61 | 61 2.0448 62 | 62 0.8359 63 | 63 0.8881 64 | 64 0.1825 65 | 65 1.8542 66 | 66 5.2114 67 | 67 0.7397 68 | 68 1.9738 69 | 69 2.8808 70 | 70 1.2519 71 | 71 2.6608 72 | 72 0.9264 73 | 73 0.8211 74 | 74 1.0472 75 | 75 1.5395 76 | 76 2.4579 77 | 77 1.4953 78 | 78 1.1293 79 | 79 0.8918 80 | 80 2.8132 81 | 81 1.669 82 | 82 0.2465 83 | 83 0.4819 84 | 84 1.998 85 | 85 2.2095 86 | 86 0.3033 87 | 87 0.3607 88 | 88 1.3413 89 | 89 0.9011 90 | 90 0.7897 91 | 91 0.6139 92 | 92 1.587 93 | 93 0.7296 94 | 94 0.7482 95 | 95 0.6214 96 | 96 0.6341 97 | 97 0.4392 98 | 98 4.9922 99 | 99 0.8528 100 | 100 1.7986 101 | 1 1.6255 102 | 2 1.2398 103 | 3 1.9085 104 | 4 0.5322 105 | 5 2.1592 106 | 6 1.3984 107 | 7 2.3119 108 | 8 1.5174 109 | 9 1.2895 110 | 10 1.2067 111 | 11 2.4903 112 | 12 0.4715 113 | 13 0.6594 114 | 14 0.5605 115 | 15 0.3574 116 | 16 0.4346 117 | 17 0.3408 118 | 18 2.4869 119 | 19 1.3855 120 | 20 1.534 121 | 21 0.4553 122 | 22 0.3806 123 | 23 0.6365 124 | 24 0.3941 125 | 25 0.3555 126 | 26 1.0152 127 | 27 0.6393 128 | 28 0.9867 129 | 29 1.146 130 | 30 0.3051 131 | 31 0.7388 132 | 32 0.841 133 | 33 3.4525 134 | 34 1.7038 135 | 35 3.9365 136 | 36 3.3788 137 | 37 4.5287 138 | 38 2.6292 139 | 39 0.6123 140 | 40 0.3703 141 | 41 0.3295 142 | 42 1.9144 143 | 43 4.3843 144 | 44 1.0937 145 | 45 0.2182 146 | 46 1.0887 147 | 47 0.9362 148 | 48 3.1971 149 | 49 0.5103 150 | 50 3.5899 151 | 51 2.387 152 | 52 0.3329 153 | 53 1.8367 154 | 54 0.575 155 | 55 0.6975 156 | 56 1.7711 157 | 57 1.0903 158 | 58 1.1795 159 | 59 0.4868 160 | 60 1.2655 161 | 61 2.4954 162 | 62 1.2516 163 | 63 1.3725 164 | 64 0.3151 165 | 65 2.2061 166 | 66 5.022 167 | 67 0.4758 168 | 68 2.1575 169 | 69 2.7699 170 | 70 0.8374 171 | 71 3.6783 172 | 72 1.3599 173 | 73 1.2572 174 | 74 0.7235 175 | 75 1.2886 176 | 76 2.6039 177 | 77 1.263 178 | 78 1.8094 179 | 79 0.8855 180 | 80 3.3029 181 | 81 1.4874 182 | 82 0.4501 183 | 83 0.713 184 | 84 3.4284 185 | 85 2.6898 186 | 86 0.4273 187 | 87 0.5138 188 | 88 1.769 189 | 89 1.0636 190 | 90 0.9811 191 | 91 1.4804 192 | 92 3.0118 193 | 93 1.1004 194 | 94 0.7057 195 | 95 0.7079 196 | 96 0.6868 197 | 97 0.4252 198 | 98 5.492 199 | 99 3.1354 200 | 100 3.331 201 | 1 1.7856 202 | 2 0.8277 203 | 3 1.9021 204 | 4 0.3815 205 | 5 1.3347 206 | 6 1.1335 207 | 7 2.5104 208 | 8 1.5635 209 | 9 0.6358 210 | 10 0.8587 211 | 11 1.6036 212 | 12 0.2935 213 | 13 0.4695 214 | 14 0.6386 215 | 15 0.263 216 | 16 0.2555 217 | 17 0.165 218 | 18 1.5238 219 | 19 1.1144 220 | 20 1.003 221 | 21 0.3139 222 | 22 0.2615 223 | 23 0.3252 224 | 24 0.2717 225 | 25 0.3559 226 | 26 0.8485 227 | 27 0.6248 228 | 28 0.599 229 | 29 1.0744 230 | 30 0.1831 231 | 31 1.038 232 | 32 0.5672 233 | 33 2.6602 234 | 34 1.0315 235 | 35 2.7275 236 | 36 1.5093 237 | 37 4.0295 238 | 38 2.5169 239 | 39 0.6038 240 | 40 0.2357 241 | 41 0.1927 242 | 42 1.209 243 | 43 2.9455 244 | 44 1.0688 245 | 45 0.1887 246 | 46 0.7514 247 | 47 0.4697 248 | 48 2.0585 249 | 49 0.7076 250 | 50 1.7603 251 | 51 1.8277 252 | 52 0.22 253 | 53 0.9666 254 | 54 0.4054 255 | 55 0.4522 256 | 56 1.3635 257 | 57 0.5724 258 | 58 0.7164 259 | 59 0.3365 260 | 60 0.7699 261 | 61 1.9609 262 | 62 1.0647 263 | 63 0.9801 264 | 64 0.1648 265 | 65 1.6473 266 | 66 4.357 267 | 67 0.6703 268 | 68 2.3003 269 | 69 2.1433 270 | 70 0.8546 271 | 71 2.5809 272 | 72 0.8413 273 | 73 1.3014 274 | 74 1.109 275 | 75 1.0667 276 | 76 2.3391 277 | 77 1.2696 278 | 78 1.1525 279 | 79 0.9966 280 | 80 2.8637 281 | 81 2.1355 282 | 82 0.353 283 | 83 0.6956 284 | 84 2.6766 285 | 85 2.6239 286 | 86 0.2942 287 | 87 0.4452 288 | 88 1.7183 289 | 89 1.3166 290 | 90 0.5905 291 | 91 0.528 292 | 92 1.8408 293 | 93 0.6776 294 | 94 0.509 295 | 95 0.5809 296 | 96 0.927 297 | 97 0.282 298 | 98 4.16 299 | 99 0.8092 300 | 100 1.4688 301 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/graph.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/graph.h -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/main.cpp -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/make.py: -------------------------------------------------------------------------------- 1 | from cyaron import * # 引入CYaRon的库 2 | for i in range(1, 101) : 3 | test_data = IO(file_prefix="./data/input", data_id = i, disable_output=True) # 生成 4 | n = randint(4, 20) # 随机一个节点个数 5 | m = randint(n, n*(n-1)) # 随机一个边的条数 6 | c = randint(5, 100) # 最大边权 7 | test_data.input_writeln(n, m, c) # 写入到输入文件里,自动以空格分割并换行 8 | graph = Graph.DAG(n, m, weight_limit=c) # 生成一个n点,m边的随机图,边权限制为5 9 | test_data.input_writeln(graph) # 自动写入到输入文件里,以一行一组u v w的形式输出 -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/room1.txt: -------------------------------------------------------------------------------- 1 | 1 495 2 | 2 324 3 | 3 525 4 | 4 143 5 | 5 568 6 | 6 365 7 | 7 686 8 | 8 410 9 | 9 272 10 | 10 382 11 | 11 272 12 | 12 120 13 | 13 180 14 | 14 203 15 | 15 80 16 | 16 102 17 | 17 56 18 | 18 460 19 | 19 472 20 | 20 432 21 | 21 126 22 | 22 101 23 | 23 131 24 | 24 98 25 | 25 84 26 | 26 345 27 | 27 253 28 | 28 260 29 | 29 473 30 | 30 64 31 | 31 242 32 | 32 240 33 | 33 1195 34 | 34 403 35 | 35 1095 36 | 36 647 37 | 37 1620 38 | 38 1096 39 | 39 256 40 | 40 86 41 | 41 68 42 | 42 509 43 | 43 1242 44 | 44 444 45 | 45 68 46 | 46 199 47 | 47 204 48 | 48 846 49 | 49 154 50 | 50 763 51 | 51 517 52 | 52 81 53 | 53 424 54 | 54 160 55 | 55 191 56 | 56 521 57 | 57 219 58 | 58 284 59 | 59 125 60 | 60 313 61 | 61 571 62 | 62 353 63 | 63 337 64 | 64 48 65 | 65 721 66 | 66 1692 67 | 67 185 68 | 68 552 69 | 69 719 70 | 70 356 71 | 71 936 72 | 72 342 73 | 73 235 74 | 74 296 75 | 75 366 76 | 76 689 77 | 77 503 78 | 78 464 79 | 79 231 80 | 80 952 81 | 81 601 82 | 82 84 83 | 83 190 84 | 84 799 85 | 85 755 86 | 86 73 87 | 87 110 88 | 88 478 89 | 89 247 90 | 90 205 91 | 91 158 92 | 92 615 93 | 93 283 94 | 94 196 95 | 95 176 96 | 96 170 97 | 97 108 98 | 98 1560 99 | 99 320 100 | 100 502 101 | 1 495 102 | 2 324 103 | 3 525 104 | 4 143 105 | 5 568 106 | 6 365 107 | 7 686 108 | 8 410 109 | 9 272 110 | 10 382 111 | 11 272 112 | 12 120 113 | 13 180 114 | 14 203 115 | 15 80 116 | 16 102 117 | 17 56 118 | 18 460 119 | 19 472 120 | 20 432 121 | 21 126 122 | 22 101 123 | 23 131 124 | 24 98 125 | 25 84 126 | 26 345 127 | 27 253 128 | 28 260 129 | 29 473 130 | 30 64 131 | 31 242 132 | 32 240 133 | 33 1195 134 | 34 403 135 | 35 1095 136 | 36 647 137 | 37 1620 138 | 38 1096 139 | 39 256 140 | 40 86 141 | 41 68 142 | 42 509 143 | 43 1242 144 | 44 444 145 | 45 68 146 | 46 199 147 | 47 204 148 | 48 846 149 | 49 154 150 | 50 763 151 | 51 517 152 | 52 81 153 | 53 424 154 | 54 160 155 | 55 191 156 | 56 521 157 | 57 219 158 | 58 284 159 | 59 125 160 | 60 313 161 | 61 571 162 | 62 353 163 | 63 337 164 | 64 48 165 | 65 721 166 | 66 1692 167 | 67 185 168 | 68 552 169 | 69 719 170 | 70 356 171 | 71 936 172 | 72 342 173 | 73 235 174 | 74 296 175 | 75 366 176 | 76 689 177 | 77 503 178 | 78 464 179 | 79 231 180 | 80 952 181 | 81 601 182 | 82 84 183 | 83 190 184 | 84 799 185 | 85 755 186 | 86 73 187 | 87 110 188 | 88 478 189 | 89 247 190 | 90 205 191 | 91 158 192 | 92 615 193 | 93 283 194 | 94 196 195 | 95 176 196 | 96 170 197 | 97 108 198 | 98 1560 199 | 99 320 200 | 100 502 201 | 1 495 202 | 2 324 203 | 3 525 204 | 4 143 205 | 5 568 206 | 6 365 207 | 7 686 208 | 8 410 209 | 9 272 210 | 10 382 211 | 11 272 212 | 12 120 213 | 13 180 214 | 14 203 215 | 15 80 216 | 16 102 217 | 17 56 218 | 18 460 219 | 19 472 220 | 20 432 221 | 21 126 222 | 22 101 223 | 23 131 224 | 24 98 225 | 25 84 226 | 26 345 227 | 27 253 228 | 28 260 229 | 29 473 230 | 30 64 231 | 31 242 232 | 32 240 233 | 33 1195 234 | 34 403 235 | 35 1095 236 | 36 647 237 | 37 1620 238 | 38 1096 239 | 39 256 240 | 40 86 241 | 41 68 242 | 42 509 243 | 43 1242 244 | 44 444 245 | 45 68 246 | 46 199 247 | 47 204 248 | 48 846 249 | 49 154 250 | 50 763 251 | 51 517 252 | 52 81 253 | 53 424 254 | 54 160 255 | 55 191 256 | 56 521 257 | 57 219 258 | 58 284 259 | 59 125 260 | 60 313 261 | 61 571 262 | 62 353 263 | 63 337 264 | 64 48 265 | 65 721 266 | 66 1692 267 | 67 185 268 | 68 552 269 | 69 719 270 | 70 356 271 | 71 936 272 | 72 342 273 | 73 235 274 | 74 296 275 | 75 366 276 | 76 689 277 | 77 503 278 | 78 464 279 | 79 231 280 | 80 952 281 | 81 601 282 | 82 84 283 | 83 190 284 | 84 799 285 | 85 755 286 | 86 73 287 | 87 110 288 | 88 478 289 | 89 247 290 | 90 205 291 | 91 158 292 | 92 615 293 | 93 283 294 | 94 196 295 | 95 176 296 | 96 170 297 | 97 108 298 | 98 1560 299 | 99 320 300 | 100 502 301 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/room2.txt: -------------------------------------------------------------------------------- 1 | 1 840 2 | 2 692 3 | 3 824 4 | 4 304 5 | 5 936 6 | 6 572 7 | 7 1008 8 | 8 640 9 | 9 456 10 | 10 612 11 | 11 640 12 | 12 304 13 | 13 456 14 | 14 364 15 | 15 172 16 | 16 240 17 | 17 148 18 | 18 920 19 | 19 840 20 | 20 708 21 | 21 356 22 | 22 216 23 | 23 292 24 | 24 236 25 | 25 176 26 | 26 552 27 | 27 460 28 | 28 444 29 | 29 772 30 | 30 156 31 | 31 472 32 | 32 516 33 | 33 1632 34 | 34 748 35 | 35 1532 36 | 36 992 37 | 37 2080 38 | 38 1464 39 | 39 440 40 | 40 224 41 | 41 160 42 | 42 808 43 | 43 1656 44 | 44 812 45 | 45 160 46 | 46 544 47 | 47 388 48 | 48 1260 49 | 49 292 50 | 50 1108 51 | 51 816 52 | 52 196 53 | 53 700 54 | 54 344 55 | 55 352 56 | 56 820 57 | 57 380 58 | 58 560 59 | 59 240 60 | 60 704 61 | 61 916 62 | 62 560 63 | 63 728 64 | 64 140 65 | 65 1020 66 | 66 2152 67 | 67 392 68 | 68 828 69 | 69 1156 70 | 70 632 71 | 71 1304 72 | 72 572 73 | 73 580 74 | 74 480 75 | 75 688 76 | 76 1080 77 | 77 940 78 | 78 740 79 | 79 484 80 | 80 1320 81 | 81 992 82 | 82 176 83 | 83 420 84 | 84 1236 85 | 85 1100 86 | 86 188 87 | 87 248 88 | 88 800 89 | 89 500 90 | 90 412 91 | 91 296 92 | 92 960 93 | 93 536 94 | 94 472 95 | 95 360 96 | 96 308 97 | 97 292 98 | 98 2020 99 | 99 780 100 | 100 824 101 | 1 840 102 | 2 692 103 | 3 824 104 | 4 304 105 | 5 936 106 | 6 572 107 | 7 1008 108 | 8 640 109 | 9 456 110 | 10 612 111 | 11 640 112 | 12 304 113 | 13 456 114 | 14 364 115 | 15 172 116 | 16 240 117 | 17 148 118 | 18 920 119 | 19 840 120 | 20 708 121 | 21 356 122 | 22 216 123 | 23 292 124 | 24 236 125 | 25 176 126 | 26 552 127 | 27 460 128 | 28 444 129 | 29 772 130 | 30 156 131 | 31 472 132 | 32 516 133 | 33 1632 134 | 34 748 135 | 35 1532 136 | 36 992 137 | 37 2080 138 | 38 1464 139 | 39 440 140 | 40 224 141 | 41 160 142 | 42 808 143 | 43 1656 144 | 44 812 145 | 45 160 146 | 46 544 147 | 47 388 148 | 48 1260 149 | 49 292 150 | 50 1108 151 | 51 816 152 | 52 196 153 | 53 700 154 | 54 344 155 | 55 352 156 | 56 820 157 | 57 380 158 | 58 560 159 | 59 240 160 | 60 704 161 | 61 916 162 | 62 560 163 | 63 728 164 | 64 140 165 | 65 1020 166 | 66 2152 167 | 67 392 168 | 68 828 169 | 69 1156 170 | 70 632 171 | 71 1304 172 | 72 572 173 | 73 580 174 | 74 480 175 | 75 688 176 | 76 1080 177 | 77 940 178 | 78 740 179 | 79 484 180 | 80 1320 181 | 81 992 182 | 82 176 183 | 83 420 184 | 84 1236 185 | 85 1100 186 | 86 188 187 | 87 248 188 | 88 800 189 | 89 500 190 | 90 412 191 | 91 296 192 | 92 960 193 | 93 536 194 | 94 472 195 | 95 360 196 | 96 308 197 | 97 292 198 | 98 2020 199 | 99 780 200 | 100 824 201 | 1 840 202 | 2 692 203 | 3 824 204 | 4 304 205 | 5 936 206 | 6 572 207 | 7 1008 208 | 8 640 209 | 9 456 210 | 10 612 211 | 11 640 212 | 12 304 213 | 13 456 214 | 14 364 215 | 15 172 216 | 16 240 217 | 17 148 218 | 18 920 219 | 19 840 220 | 20 708 221 | 21 356 222 | 22 216 223 | 23 292 224 | 24 236 225 | 25 176 226 | 26 552 227 | 27 460 228 | 28 444 229 | 29 772 230 | 30 156 231 | 31 472 232 | 32 516 233 | 33 1632 234 | 34 748 235 | 35 1532 236 | 36 992 237 | 37 2080 238 | 38 1464 239 | 39 440 240 | 40 224 241 | 41 160 242 | 42 808 243 | 43 1656 244 | 44 812 245 | 45 160 246 | 46 544 247 | 47 388 248 | 48 1260 249 | 49 292 250 | 50 1108 251 | 51 816 252 | 52 196 253 | 53 700 254 | 54 344 255 | 55 352 256 | 56 820 257 | 57 380 258 | 58 560 259 | 59 240 260 | 60 704 261 | 61 916 262 | 62 560 263 | 63 728 264 | 64 140 265 | 65 1020 266 | 66 2152 267 | 67 392 268 | 68 828 269 | 69 1156 270 | 70 632 271 | 71 1304 272 | 72 572 273 | 73 580 274 | 74 480 275 | 75 688 276 | 76 1080 277 | 77 940 278 | 78 740 279 | 79 484 280 | 80 1320 281 | 81 992 282 | 82 176 283 | 83 420 284 | 84 1236 285 | 85 1100 286 | 86 188 287 | 87 248 288 | 88 800 289 | 89 500 290 | 90 412 291 | 91 296 292 | 92 960 293 | 93 536 294 | 94 472 295 | 95 360 296 | 96 308 297 | 97 292 298 | 98 2020 299 | 99 780 300 | 100 824 301 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/solution1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/solution1.h -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/solution2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/OILBOSTERR/OILBOSTERR/solution2.h -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/testroom.py: -------------------------------------------------------------------------------- 1 | import matplotlib.pyplot as plt 2 | 3 | 4 | input_txt = 'room1.txt' 5 | x = [] 6 | y = [] 7 | z = [] 8 | 9 | f = open(input_txt) 10 | for line in f: 11 | line = line.strip('\n') 12 | line = line.split(' ') 13 | 14 | x.append(int(line[0])) 15 | y.append(int(line[1])) 16 | 17 | f.close 18 | 19 | input_txt = 'room2.txt' 20 | f = open(input_txt) 21 | for line in f: 22 | line = line.strip('\n') 23 | line = line.split(' ') 24 | 25 | z.append(int(line[1])) 26 | 27 | f.close 28 | 29 | plt.plot(x, y, marker='o', label='backtrack') 30 | plt.plot(x, z, marker='*', label='branch_bound',linestyle="--") 31 | 32 | 33 | plt.xticks(x[0:len(x):2], x[0:len(x):2], rotation=45) 34 | plt.margins(0) 35 | plt.xlabel("data") 36 | plt.ylabel("cost(Byte)") 37 | plt.title("compare roomspace") 38 | plt.tick_params(axis="both") 39 | plt.legend() 40 | plt.show() 41 | -------------------------------------------------------------------------------- /oil_booster/OILBOSTERR/OILBOSTERR/testtime.py: -------------------------------------------------------------------------------- 1 | import matplotlib.pyplot as plt 2 | 3 | 4 | input_txt = 'cost1.txt' 5 | x = [] 6 | y = [] 7 | z = [] 8 | 9 | f = open(input_txt) 10 | for line in f: 11 | line = line.strip('\n') 12 | line = line.split(' ') 13 | 14 | x.append(int(line[0])) 15 | y.append(float(line[1])) 16 | 17 | f.close 18 | 19 | input_txt = 'cost2.txt' 20 | f = open(input_txt) 21 | for line in f: 22 | line = line.strip('\n') 23 | line = line.split(' ') 24 | 25 | z.append(float(line[1])) 26 | 27 | f.close 28 | 29 | plt.plot(x, y, marker='o', label='backtrack') 30 | plt.plot(x, z, marker='*', label='branch_bound',linestyle="--") 31 | 32 | 33 | plt.xticks(x[0:len(x):2], x[0:len(x):2], rotation=45) 34 | plt.margins(0) 35 | plt.xlabel("data") 36 | plt.ylabel("cost(ms)") 37 | plt.title("compare time") 38 | plt.tick_params(axis="both") 39 | plt.legend() 40 | plt.show() 41 | -------------------------------------------------------------------------------- /oil_booster/README.md: -------------------------------------------------------------------------------- 1 | # 石油放大器 2 | 3 | ## 实现操作 4 | 5 | 1. 使用分支定界和回溯解决了问题。 6 | 2. 对程序的正确性有推导或对比: 将对拍程序封装成函数,并且验证了两个方法的正确性. 7 | 3. 合理且完善的性能分析与图表展示: 使用python的matplotlib 实现了时间和空间性能用图表显示比较结果,进行了分析。 8 | 4. 用库cyaron的数据生成器make.py 生成了部分数据进行了测试 9 | 5. 使用dot作图的方法,实现了图的可视化方便验证正确性,可以直观的展示程序的结果 , 包括放大器的位置 , 每个位置的压力 , 边权等. 10 | 6. 程序设计规范,封装良好,拥有详细的注释。 11 | 7. 压缩包包括solution1.h solution2.h graph.h main.cpp 以及生成图表的testRoom.py testtime.py make.py 12 | -------------------------------------------------------------------------------- /oil_booster/testspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/testspace.png -------------------------------------------------------------------------------- /oil_booster/testtime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZhaoyungZhang/DataStructureCourseProject/46b3bf2e02b526757e059431fe4ee852f708a37d/oil_booster/testtime.png --------------------------------------------------------------------------------