Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mathew additional task (heap) #31

Merged
merged 9 commits into from
May 7, 2024

Conversation

Mathew131
Copy link
Contributor

No description provided.

heap_exe/CMakeLists.txt Outdated Show resolved Hide resolved
heap_exe/README.md Outdated Show resolved Hide resolved
heap_exe/src/heap.cpp Outdated Show resolved Hide resolved
@@ -0,0 +1,80 @@
#include "heap.hpp"

void Heap::siftUp(int i) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SiftUp

heap_exe/src/heap.cpp Outdated Show resolved Hide resolved
@Mathew131 Mathew131 changed the title Mathew_pull_request Mathew additional task (heap) Apr 20, 2024
.gitignore Outdated
@@ -1,5 +1,5 @@
CMakeLists.txt.user
CMakeCache.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это лучше не трогать

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

копия, удали папку heap_exe из корня репозитория


int Heap::getMin() { return a[0]; }

void Heap::insert(int x) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insert


int Heap::size() { return a.size(); }

int Heap::getMin() { return a[0]; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetMin

@@ -1,3 +1,5 @@
#include <iostream>

// 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

этот файл не нужно менять

@LostPointer LostPointer merged commit 6f9ae9e into AlgorithmsDafeMipt2024:main May 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants