2013年8月12日

POJ 2078 Matrix

摘要: MatrixTime Limit:2000MSMemory Limit:30000KTotal Submissions:3239Accepted:1680DescriptionGiven an n*n matrix A, whose entries Ai,j are integer numbers ( 0 #include #include using namespace std;int ans = 0x7fffffff;void Shift(int row, int n, int matrix[10][10]){ int temp = matrix[row][n - 1]; fo... 阅读全文

posted @ 2013-08-12 16:38 lzm风雨无阻 阅读(800) 评论(0) 推荐(0) 编辑

POJ 2082 Terrible Sets

摘要: Terrible SetsTime Limit:1000MSMemory Limit:30000KTotal Submissions:2747Accepted:1389DescriptionLet N be the set of all natural numbers {0 , 1 , 2 , . . . }, and R be the set of all real numbers. wi, hi for i = 1 . . . n are some elements in N, and w0 = 0.Define set B = { | x, y ∈ R and there exists 阅读全文

posted @ 2013-08-12 15:30 lzm风雨无阻 阅读(700) 评论(0) 推荐(1) 编辑

POJ 1013 Counterfeit Dollar

摘要: Counterfeit DollarTime Limit:1000MSMemory Limit:10000KTotal Submissions:36206Accepted:11561DescriptionSally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its color and size make it indistinguishable from the 阅读全文

posted @ 2013-08-12 11:11 lzm风雨无阻 阅读(361) 评论(0) 推荐(0) 编辑

POJ 1012 Joseph

摘要: JosephTime Limit:1000MSMemory Limit:10000KTotal Submissions:44650Accepted:16837DescriptionThe Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to be executed and on 阅读全文

posted @ 2013-08-12 09:45 lzm风雨无阻 阅读(3952) 评论(0) 推荐(0) 编辑

POJ 2083 Fractal

摘要: FractalTime Limit:1000MSMemory Limit:30000KTotal Submissions:6646Accepted:3297DescriptionA fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all scales. The object need not exhibit exactly the same structure at all scales, but the same "type" 阅读全文

posted @ 2013-08-12 08:56 lzm风雨无阻 阅读(812) 评论(0) 推荐(0) 编辑

导航