#include #include int pocitej() { int x=0,y=0, cervotocu=0; char cerv[26][61]; char radek[250]; int sezral[26]; int maximum=0, pozice=0; scanf("%d %d %d", &x, &y, &cervotocu); if ((x==0)&&(y==0)&&(cervotocu==0)) return 0; for (int i=0;imaximum) {maximum=sezral[i];pozice=i;}; printf("Nejzravejsi cervotoc je %s.\n", cerv[pozice]); return 1; } int main() { while(pocitej() != 0); return 0; }