2017年4月11日

《将博客搬至CSDN》

摘要: 此博客长期停用,不再更新,即将搬迁至CSDN。 阅读全文

posted @ 2017-04-11 17:04 wsa 阅读(90) 评论(0) 推荐(0) 编辑

2015年6月9日

Window Pains POJ 2585

摘要: Description Boudreaux likes to multitask, especially when it comes to using his computer. Never satisfied with just running one application at a time,... 阅读全文

posted @ 2015-06-09 10:58 wsa 阅读(148) 评论(0) 推荐(0) 编辑

2015年6月8日

Idiomatic Phrases Game HDU 1546

摘要: DescriptionTom is playing a game called Idiomatic Phrases Game. An idiom consists of several Chinese characters and has a certain meaning. This game w... 阅读全文

posted @ 2015-06-08 22:34 wsa 阅读(188) 评论(0) 推荐(0) 编辑

POJ 1270 Following Orders 拓扑排序全输出

摘要: Description Order is an important concept in mathematics and in computer science. For example, Zorn's Lemma states: ``a partially ordered set in which... 阅读全文

posted @ 2015-06-08 17:00 wsa 阅读(440) 评论(0) 推荐(0) 编辑

2015年5月21日

CodeForces 518C Anya and Smartphone

摘要: DescriptionAnya has bought a new smartphone that uses Berdroid operating system. The smartphone menu has exactly n applications, each application has ... 阅读全文

posted @ 2015-05-21 22:20 wsa 阅读(179) 评论(0) 推荐(0) 编辑

Cards CodeForces 399C

摘要: DescriptionUser ainta loves to play with cards. He has a cards containing letter "o" and b cards containing letter "x". He arranges the cards in a row... 阅读全文

posted @ 2015-05-21 16:35 wsa 阅读(278) 评论(0) 推荐(0) 编辑

2015年5月20日

CodeForces 25D Roads not only in Berland

摘要: Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 25DDescriptionBerland Government decided to im... 阅读全文

posted @ 2015-05-20 16:42 wsa 阅读(126) 评论(0) 推荐(0) 编辑

2015年5月13日

【转】别人家的八数码 A* IDA*解法

摘要: 【转】 http://www.cnblogs.com/liyongmou/archive/2010/07/19/1780861.html 1 代码 2 3 // A* 4 #include 5 #include 6 #include 7 #include 8 #include 9... 阅读全文

posted @ 2015-05-13 11:36 wsa 阅读(285) 评论(0) 推荐(0) 编辑

2015年5月10日

Maze Stretching Poj3897 二分+BFS

摘要: DescriptionUsually the path in a maze is calculated as the sum of steps taken from the starting point until the ending point,assuming that the distanc... 阅读全文

posted @ 2015-05-10 23:39 wsa 阅读(151) 评论(0) 推荐(0) 编辑

2015年4月15日

Data Handler 大模拟 + 双端链表 hdu 4268

摘要: E - Data Handler Time Limit:10000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription You are in charge of data in a compan... 阅读全文

posted @ 2015-04-15 11:09 wsa 阅读(232) 评论(0) 推荐(0) 编辑

导航