Skip to content

task_01#15

Open
H0p1ty wants to merge 15 commits intoAlgorithmsDafeMipt2024:mainfrom
H0p1ty:main
Open

task_01#15
H0p1ty wants to merge 15 commits intoAlgorithmsDafeMipt2024:mainfrom
H0p1ty:main

Conversation

@H0p1ty
Copy link
Copy Markdown

@H0p1ty H0p1ty commented Feb 24, 2024

an actual pull request

Comment thread sandbox/template/src/commit_message.txt Outdated
Comment thread task_01/src/main.cpp Outdated
Comment thread task_01/src/main.cpp Outdated
Comment thread task_01/src/main.cpp Outdated
Comment thread task_01/src/test.cpp Outdated

TEST(TopologySort, Simple) {
ASSERT_EQ(1, 1); // Stack []
std::pair<int, int> solution(int number, std::vector<int> v) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

вынеси в отдельный файл

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Сделано

Comment thread task_01/src/test.cpp
Comment thread lesson3/heap.cpp
@@ -0,0 +1,19 @@
#include <vector>
//#include <priority_queue>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

это наверное нужно утащить в другой ПР со вторым заданием

Comment thread sandbox/template/src/commit_message.txt Outdated
Comment thread task_01/src/solution.h Outdated
indices_map
.end()) { // if key "number - t" exists, we have found the solution
return {indices_map[sum - v[i]], i};
flag = true;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

а давай подумаем, мы сюда когда-нибудь попадем?)

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