From 0d58c97b5be76768bed6656c9c6cc923b11f130c Mon Sep 17 00:00:00 2001 From: Deinerovych Date: Wed, 16 Oct 2024 10:32:44 +0200 Subject: [PATCH] 11 --- cv3/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 384b6d8..972a0cc 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -97,7 +97,8 @@ int main() { } if (stack_top == 0) { - print_stack(); // Печать оставшегося элемента + pop(); // Убираем последний элемент стека + printf("no input\n"); } else { printf("no input\n"); }