题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=842&page=show_problem&problem=3004 题意:在一个R行C列 (2≤R,C≤15,R∗