diff options
[SDP/P] Added comments and removed iostream includes where unnecessary
2 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | Year 2/Structures and data algorithms/Project/exa/SkipList.hpp | 2 | ||||
| -rw-r--r-- | Year 2/Structures and data algorithms/Project/exa/main.cpp | 2 |
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; |
