C - Triangular Relationship

ABC

AtCoder Beginner Contest 108(ABC108)

AtCoder Beginner Contest 108(ABC108)解きました。かなり難しい回でした。