上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页

2012年10月6日

hdu 1016 Prime Ring Problem(深度优先搜索)

摘要: Prime Ring ProblemTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14715Accepted Submission(s): 6720Problem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of nu 阅读全文

posted @ 2012-10-06 19:47 NewPanderKing 阅读(6726) 评论(1) 推荐(3) 编辑

hdu 2616 Kill the monster(stl全排列+暴力)

摘要: Kill the monsterTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 502Accepted Submission(s): 345Problem DescriptionThere is a mountain near yifenfei’s hometown. On the mountain lived a big monster. As a hero in hometown, yifenfei wants to kill it. No 阅读全文

posted @ 2012-10-06 18:40 NewPanderKing 阅读(827) 评论(0) 推荐(0) 编辑

hdu 2553 N皇后问题(深度递归搜索)

摘要: N皇后问题Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3730Accepted Submission(s): 1737Problem Description在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。你的任务是,对于给定的N,求出有多少种合法的放置方法。Input共有若干行,每行一个正整数N≤10,表示棋盘和皇后的数量;如果N=0,表示结束。Outpu 阅读全文

posted @ 2012-10-06 15:36 NewPanderKing 阅读(2582) 评论(0) 推荐(0) 编辑

2012年10月5日

zoj 2406 Specialized Four-Digit Numbers

摘要: Specialized Four-Digit NumbersTime Limit: 2 Seconds Memory Limit: 65536 KBFind and list all four-digit numbers in decimal notation that have the pr... 阅读全文

posted @ 2012-10-05 16:55 NewPanderKing 阅读(865) 评论(0) 推荐(0) 编辑

zoj 2417 Lowest Bit(简单的模拟)

摘要: Lowest BitTime Limit: 2 Seconds Memory Limit: 65536 KBGiven an positive integer A (1 int main(){ int n,bit_num[7],i; //得到可以组成100以内的二进制数的组合 ... 阅读全文

posted @ 2012-10-05 15:49 NewPanderKing 阅读(637) 评论(0) 推荐(0) 编辑

zoj 2433 Highways(英语是硬伤啊)

摘要: HighwaysTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeIn a distant country Lineland there are N cities and they are all located along ... 阅读全文

posted @ 2012-10-05 15:26 NewPanderKing 阅读(427) 评论(0) 推荐(0) 编辑

poj 1607 Deck(坑爹的水题啊)

摘要: DeckTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 745Accepted Submission(s): 395Problem Descript... 阅读全文

posted @ 2012-10-05 10:31 NewPanderKing 阅读(486) 评论(0) 推荐(0) 编辑

poj 1552 Doubles(简单的模拟一下)

摘要: DoublesTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 16425Accepted: 9404DescriptionAs part of an arithmetic competency program, your studen... 阅读全文

posted @ 2012-10-05 09:11 NewPanderKing 阅读(501) 评论(0) 推荐(0) 编辑

2012年10月4日

poj 1504 Adding Reversed Numbers(数学水题)

摘要: Adding Reversed NumbersTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 12526Accepted: 6914DescriptionThe Antique Comedians of Malidinesia pre... 阅读全文

posted @ 2012-10-04 17:20 NewPanderKing 阅读(2166) 评论(0) 推荐(0) 编辑

2012年10月3日

poj 1401 Factorial(数学水题)

摘要: FactorialTime Limit: 1500MSMemory Limit: 65536KTotal Submissions: 12345Accepted: 7693DescriptionThe most important part of a GSM network is so called ... 阅读全文

posted @ 2012-10-03 20:21 NewPanderKing 阅读(322) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页

导航