Wrong solution being accepted || Missing test case || Wrong Constraints

programming
Tags: #<Tag:0x00007f2422c93cc0>

#1

For input

A = 1
B = 1
C = 1

Where we have 1 item to distribute, among 1 person, starting from 1
answer should be 1, i.e. it will be given to person no 1 only, so output should be 1, but in accepted solution it is 0 and still accepted.