UVA10770 Sokoban

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=19&page=show_problem&problem=1711 [PDF](https://uva.onlinejudge.org/external/107/p10770.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10770/d5286fbcd3c59e8afe2eab87067c02de0e69a101.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10770/c740770bcb6e58e306315bc8fe0caba48e0d84b0.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10770/6042b95f464e50ec3843f8cf851fbca405d0b0f1.png)