Distinguish zero state and plus state with minimum error

Problem Name:
Distinguish zero state and plus state with minimum error
Site:CodeForces
Links:
Tags:
Problem setters: