摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2196A school bought the first computer some time ago(so this computer's id is 1). During the recent yea... 阅读全文
posted @ 2015-03-26 21:35 huangxf 阅读(145) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1043The 15-puzzle has been around for over 100 years; even if you don't know it by that name, you've se... 阅读全文
posted @ 2015-03-26 16:07 huangxf 阅读(1541) 评论(0) 推荐(0)
摘要: 题目链接:http://poj.org/problem?id=1655Consider a tree T with N (1 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define... 阅读全文
posted @ 2015-03-26 00:02 huangxf 阅读(180) 评论(0) 推荐(0)