Skip to content

Add files via upload - #1

Open
Vodeneev wants to merge 1 commit into
masterfrom
Vodeneev-patch-1
Open

Add files via upload#1
Vodeneev wants to merge 1 commit into
masterfrom
Vodeneev-patch-1

Conversation

@Vodeneev

@Vodeneev Vodeneev commented Nov 5, 2019

Copy link
Copy Markdown
Owner

Comment thread stacknew/include/Stack.h
template <class T>
void Stack<T>::Push(T a) {
if ((end - begin) > size - 1) {
size = size + int(size*1.3) ;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Выделяется в 2,3 раза больше памяти. Это не ошибка, просто мне кажется, что вы хотели выделить в 1,3 больше памяти.

@PanovaElena

Copy link
Copy Markdown

Все хорошо, принято.

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