AtCoder Beginner Contest 056 Solutions and Optimization Techniques

Problem A: Honest or Dishonest Two characters (a) and (b) are given, each either H (honest) or D (dishonest). Person A always tells the truth if (a = H), otherwise always lies. A states that B is honest if (b = H), or that B is dishonest if (b = D). Determine whether B is actually honest. Solution If A is dishonest ((a = D)), the statement is f ...

Posted on Thu, 07 May 2026 18:11:44 +0000 by shseraj