In this problem there is no constraint given for the range of value of “id” if voters, some programmers have assumed this range to be 1000000 and still go accepted, is this because of week test cases or there is some glitch, can anyone explain this.

Please give the problem link. I think, the range is supposed be determined by other constraints.

1 Like

So, what is the problem? Most of the people has taken input as integer as it is mentioned that the id(s) are integers. So we can simply assume that they will be less than 10^9 .

thanks @debjitdg I got you.