From 17237e1cb39fdc095e83237733317a6ae8c4e6ee Mon Sep 17 00:00:00 2001 From: Matuush Date: Sun, 30 Mar 2025 17:05:01 +0200 Subject: [PATCH] Rename file representation to treap for better readability --- file.hpp => treap.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename file.hpp => treap.hpp (98%) diff --git a/file.hpp b/treap.hpp similarity index 98% rename from file.hpp rename to treap.hpp index e7c2381..bbc5ec5 100644 --- a/file.hpp +++ b/treap.hpp @@ -16,7 +16,7 @@ struct line { typedef std::pair two_lines; // Treap representation of a file -class file { +class treap { public: line* root; @@ -79,7 +79,7 @@ public: } public: - file() { + treap() { srand(120); root = nullptr; }