RYIP在线题库
首 页   >   习题练习   >   提交
Problem1479--又是骑士游历

1479: 又是骑士游历

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

【 Description 】


【 Input 】

输入n和m

【 Output 】

输出最少的步数,如果走不到,输出“No solution!”


【 Sample Input 】

6 5

【 Sample Output 】

3

【 Source/Category 】

TW BFS