2014年11月2日

nyoj-27-水池数目

摘要: 1//题目地址:http://acm.nyist.net/JudgeOnline/status.php?pid=272//解题思路:裸的dfs,遍历每个格子dfs访问当前格子的相领格子3#include4#include56intmap[110][110],vis[110][110];7intdx[... 阅读全文

posted @ 2014-11-02 23:29 angle_qqs 阅读(126) 评论(0) 推荐(0)

noj-1102-黑白图像

摘要: 1//题目地址:http://acm.njupt.edu.cn/acmhome/problemdetail.do?method=showdetail&id=11022//解题思路:遍历每个格子dfs访问当前格子的相领黑格3#include4#include56#defineMAXN100078int... 阅读全文

posted @ 2014-11-02 23:26 angle_qqs 阅读(162) 评论(0) 推荐(0)

uva-100-The 3n + 1 problem

摘要: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=36The 3n+ 1 problemBackgroundProblems in Computer Scien... 阅读全文

posted @ 2014-11-02 15:18 angle_qqs 阅读(171) 评论(0) 推荐(0)

导航