CHEFVOTE - Editorial

somebody please check my solution i don’t know why i m getting wa.

int this for every guy for i!=1 he is giving vote to the preceding person and i=1 is giving the vote to the last person who needs a vote .

why anyone is not using linked list
??