From b120d2ac875cf917cf63e577cb7c7e92f2cae0ca Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 20 Mar 2024 17:33:59 +0100 Subject: [PATCH] funguje --- cv5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/program.c b/cv5/program.c index 777b5fa..bfd2ba0 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -48,7 +48,7 @@ int main() { // Výpis databázy printf("\nVysledky:\n"); - printf("%d %s\n", database[0].votes, database[0].name); + printf("%d %s\n", database[0].votes, input + 3); // Vypíše počet hlasov a pôvodný vstup od 4. znaku return 0; }