摘要: 1350 - Pinary`Pinary" number is a positive number using only two digits ``0" and ``1" with usual rule that it must not begin with a 0, and the additio... 阅读全文
posted @ 2015-01-15 22:48 Mr.Ren~ 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 12075 - Counting TrianglesTriangles are polygons with three sides and strictly positive area. Lattice triangles are the triangles all whose vertexes h... 阅读全文
posted @ 2015-01-15 22:38 Mr.Ren~ 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1393 - HighwaysHackerland is a happy democratic country withm×ncities, arranged in a rectangularmbyngrid and connected bymroads in the east-west direc... 阅读全文
posted @ 2015-01-15 22:28 Mr.Ren~ 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Problem E: How many 0's?A Benedict monk No. 16 writes down the decimal representations of all natural numbers between and includingmandn,m≤n. How many... 阅读全文
posted @ 2015-01-15 22:13 Mr.Ren~ 阅读(165) 评论(0) 推荐(0) 编辑
摘要: E. Distributing PartsYou are an assistant director in a new musical play. The play consists of n musical parts, each part must be performed by exactly... 阅读全文
posted @ 2015-01-14 20:13 Mr.Ren~ 阅读(177) 评论(0) 推荐(0) 编辑
摘要: D. Tennis GamePetya and Gena love playing table tennis. A single match is played according to the following rules: a match consists of multiple sets, ... 阅读全文
posted @ 2015-01-14 19:53 Mr.Ren~ 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Cow PatternsTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 3414Accepted: 1263DescriptionA particular subgroup of K (1 2 #include 3 #include... 阅读全文
posted @ 2015-01-14 09:39 Mr.Ren~ 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Problem Description Now you are back,and have a task to do: Given you a string s consist of lower-case English letters only,denote f(s) as the nu... 阅读全文
posted @ 2015-01-12 22:30 Mr.Ren~ 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Lexicographical Substring SearchTime Limit: 1000MSMemory Limit: Unknown64bit IO Format: %lld & %lluDescriptionLittle Daniel loves to play with strings... 阅读全文
posted @ 2015-01-10 21:22 Mr.Ren~ 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Common SubstringsTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 7605Accepted: 2524DescriptionA substring of a string T is defined as:T(i, k)... 阅读全文
posted @ 2015-01-10 20:55 Mr.Ren~ 阅读(200) 评论(0) 推荐(0) 编辑