摘要: 这道题没什么难度,开始看错了,以为要输出的是从上到下的顺序。我用的dfs,尝试把一个个矩形从当前图中拿出来,拿出来后将所在位置置为'*',在下次循环时需要恢复未拿走时的字符串。/*ID: zhangyc1LANG: C++TASK: frameup*/#include <fstream>#include <iostream>#include <string>#include <cstring>#include <cstdlib>#include <sstream>#include <vector> 阅读全文
posted @ 2013-04-16 14:45 J.Z's World 阅读(219) 评论(0) 推荐(0) 编辑