From 5879df953a4daf42762b7df2da6c02c1af5e4c8d Mon Sep 17 00:00:00 2001 From: Weber Date: Sun, 29 Sep 2024 08:32:05 +0000 Subject: [PATCH] test --- cv1/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cv1/program.c b/cv1/program.c index c4390a6..6077052 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -1,4 +1,3 @@ - #include #include #include @@ -49,10 +48,10 @@ int main() { price[strcspn(price, "\n")] = 0; decode_hacker_script(menu_item, decoded_item); + count++; // Zvyšujeme count pre každú načítanú položku if (strstr(decoded_item, decoded_search) != NULL) { printf("%s\n%s\n", menu_item, price); - count++; } }