Problem 5060. -- [Ceoi2017]Chase

5060: [Ceoi2017]Chase

Time Limit: 40 Sec  Memory Limit: 512 MB
Submit: 2  Solved: 2
[Submit][Status][Web Board]

Description

Input

Output

HINT

Source

[Submit][Status]