UOJ Logo 黑暗爆炸OJ

DARKBZOJ

#4909. [Sdoi2017]龙与地下城

Statistics 下载数据

Description

 www.lydsy.com/JudgeOnline/upload/sdoi2017r2d1.pdf

Input

Output

Sample Input

Sample Output

Hint


Source

鸣谢Tangjz提供SPJ