Skip to content

Емельянов Максим Сергеевич#38

Open
Hinveit wants to merge 4 commits intocppdevcourse:masterfrom
Hinveit:master
Open

Емельянов Максим Сергеевич#38
Hinveit wants to merge 4 commits intocppdevcourse:masterfrom
Hinveit:master

Conversation

@Hinveit
Copy link
Copy Markdown

@Hinveit Hinveit commented Dec 9, 2024

No description provided.

Comment thread src/two-sum.cpp
std::size_t& index0,
std::size_t& index1
) {
std::unordered_map < int, std::size_t > container;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Не компилируется: https://github.com/czertyaka/CppDevCourse-hw3/actions/runs/12244079113/job/34439743584?pr=38

Забыли подключить заголовочный файл для использования std::unordered_map

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 src/two-sum.cpp Outdated
@@ -0,0 +1,24 @@
#include "two-sum.hpp"
std::unordered_map
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
std::unordered_map
#include <unordered_map>

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