Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Structures and data algorithms / Project / exa
diff options
context:
space:
mode:
diff --git a/Year 2/Structures and data algorithms/Project/exa/SkipList.hpp b/Year 2/Structures and data algorithms/Project/exa/SkipList.hpp
index 142c58a..6a73533 100644
--- a/Year 2/Structures and data algorithms/Project/exa/SkipList.hpp
+++ b/Year 2/Structures and data algorithms/Project/exa/SkipList.hpp
@@ -88,8 +88,6 @@ public:
* Exercise functionality
*/
-#include <iostream>
-
template <class T>
bool SkipList<T>::recShortSublist(Node* current, std::deque<T>& search, std::deque<T>& out) {
if (current == nullptr) return false;
diff --git a/Year 2/Structures and data algorithms/Project/exa/main.cpp b/Year 2/Structures and data algorithms/Project/exa/main.cpp
index 0beae8b..9a6ff09 100644
--- a/Year 2/Structures and data algorithms/Project/exa/main.cpp
+++ b/Year 2/Structures and data algorithms/Project/exa/main.cpp
@@ -2,6 +2,8 @@
#include <string>
#include <iostream>
+/* Самото решение се намира в recShortSublist в SkipList.hpp */
+
int main() {
std::cout << "Брой на градовете през които преминава пътническия влак: ";
unsigned n = 0;