#include main() { char s[10],s1[10], s2[10], s3[10], s4[10]; int i=0,a[20][20]; int num; int j=0; int totalA=0, totalB=0, totalC=0, totalD=0; int ii; int total[4]={0}; int max; scanf("%s%s%s%s%s",s,s1,s2,s3,s4); scanf("%s",s); //printf("%s %s %s\n",s, s1, s2); while( scanf("%d %d %d %d %d",&j,&a[i][0], &a[i][1], &a[i][2], &a[i][3] ) >4) { i++;} num = i; //printf("The mumber of precinct is %d\n",num); for(i=0;i max) {max=total[i]; ii=i;} if(ii==0) printf("Candidate A is the winner\n"); if(ii==1) printf("Candidate B is the winner\n"); if(ii==2) printf("Candidate C is the winner\n"); if(ii==3) printf("Candidate D is the winner\n"); }