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;