From 4a75ad90322f6c8b698a629ed8a161097aa01834 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Wed, 9 Mar 2022 14:56:18 +0100 Subject: [PATCH] ASD --- du2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du2/program.c b/du2/program.c index b054f3a..92089f8 100644 --- a/du2/program.c +++ b/du2/program.c @@ -15,7 +15,7 @@ int main(){ if(max < results[i]){ //printf("Súťažiaci č. %d vypil %d pohárov.\n",i+1,results[i]); max = results[i]; - kolvo[a] = i; + kolvo[a] = i + 1; a = 0; }else if(max == results[i]){ kolvo[a] = i - 1;