This commit is contained in:
Yaroslav Orlianskyi 2022-03-09 14:54:01 +01:00
parent 8a3c392047
commit 66dbbf22eb
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -15,9 +15,11 @@ int main(){
if(max < results[i]){ if(max < results[i]){
//printf("Súťažiaci č. %d vypil %d pohárov.\n",i+1,results[i]); //printf("Súťažiaci č. %d vypil %d pohárov.\n",i+1,results[i]);
max = results[i]; max = results[i];
a = 0;
}else if(max == results[i]){ }else if(max == results[i]){
kolvo[a] = i; kolvo[a] = i - 1;
a++; a++;
kolvo[a] = i;
} }
printf("Súťažiaci č. %d vypil %d pohárov.\n",i+1,results[i]); printf("Súťažiaci č. %d vypil %d pohárov.\n",i+1,results[i]);
i++; i++;