Problems from Programming Battle, contest Beta