摘要: http://community.topcoder.com/stat?c=problem_statement&pm=12725&rd=15702这题比较简单。首先所有的LR的顺序要一致,二来L和L,R和R的位置有限制关系。#include using namespace std;class FoxAndChess {public: string ableToMove(string begin, string target);};string FoxAndChess::ableToMove(string begin, string target) { int i = 0; in. 阅读全文
posted @ 2013-11-29 23:50 阿牧遥 阅读(212) 评论(0) 推荐(0)