02 2015 档案

摘要:Problem DescriptionRPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK... 阅读全文
posted @ 2015-02-26 21:54 乱齐八糟 阅读(141) 评论(0) 推荐(0)
摘要:DescriptionIfaanddare relatively prime positive integers, the arithmetic sequence beginning withaand increasing byd, i.e.,a,a+d,a+ 2d,a+ 3d,a+ 4d, ...... 阅读全文
posted @ 2015-02-17 22:29 乱齐八糟 阅读(171) 评论(0) 推荐(0)
摘要:DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN(0 ≤N≤ 100,000) on... 阅读全文
posted @ 2015-02-09 16:29 乱齐八糟 阅读(140) 评论(0) 推荐(0)
摘要:DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that... 阅读全文
posted @ 2015-02-09 15:39 乱齐八糟 阅读(187) 评论(0) 推荐(0)
摘要:Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are t... 阅读全文
posted @ 2015-02-07 15:42 乱齐八糟 阅读(138) 评论(1) 推荐(1)
摘要:C. Palindrome Transformationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNam is playing with a... 阅读全文
posted @ 2015-02-02 12:09 乱齐八糟 阅读(320) 评论(0) 推荐(0)