2015年7月6日

HDU 1312 Red and Black(bfs)

摘要: Red and BlackTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionThere is a rectangular room, covered with square tiles. Each... 阅读全文

posted @ 2015-07-06 16:23 活力典 阅读(223) 评论(0) 推荐(0) 编辑

HDU 2553 N皇后问题(dfs)

摘要: N皇后问题Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。你... 阅读全文

posted @ 2015-07-06 16:13 活力典 阅读(244) 评论(0) 推荐(0) 编辑

HDU1043 Eight(BFS)

摘要: Eight(South Central USA 1998)Time Limit:5000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionThe 15-puzzle has been around for over 100... 阅读全文

posted @ 2015-07-06 16:01 活力典 阅读(504) 评论(0) 推荐(0) 编辑

2015年3月26日

UVa230 Borrowers (STL)

摘要: BorrowersI mean yourborrowers of books- those mutilators of collections, spoilers of the symmetry of shelves, and creators of odd volumes.- (Charles L... 阅读全文

posted @ 2015-03-26 15:15 活力典 阅读(444) 评论(0) 推荐(1) 编辑

2015年3月1日

codeforces 519C.. A and B and Team Training

摘要: C. A and B and Team Trainingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing... 阅读全文

posted @ 2015-03-01 08:47 活力典 阅读(231) 评论(0) 推荐(0) 编辑

codeforces 519B. A and B and Compilation Errors

摘要: B. A and B and Compilation Errorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are pre... 阅读全文

posted @ 2015-03-01 08:44 活力典 阅读(384) 评论(0) 推荐(0) 编辑

codeforces 519A. A and B and Chess,

摘要: A. A and B and Chesstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA and B are preparing themsel... 阅读全文

posted @ 2015-03-01 08:38 活力典 阅读(227) 评论(0) 推荐(0) 编辑

2015年2月25日

codeforces 518C. Anya and Smartphone

摘要: C. Anya and Smartphonetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnya has bought a new smart... 阅读全文

posted @ 2015-02-25 11:50 活力典 阅读(407) 评论(0) 推荐(0) 编辑

codeforces 518B. Tanya and Postcard

摘要: B. Tanya and Postcardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Tanya decided to pre... 阅读全文

posted @ 2015-02-25 11:47 活力典 阅读(306) 评论(0) 推荐(0) 编辑

codeforces 518A. Vitaly and Strings

摘要: A. Vitaly and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVitaly is a diligent student... 阅读全文

posted @ 2015-02-25 11:44 活力典 阅读(624) 评论(0) 推荐(0) 编辑

导航