#P2444. E.魔法挑战

E.魔法挑战

题目描述

Click here to read PDF of this problem

输入格式

As shown in the PDF.

输出格式

As shown in the PDF

样例