Ural
文章平均质量分 70
HjKon
这个作者很懒,什么都没留下…
展开
-
Ural-1020. Rope(简单计算几何)
1020. RopeTime limit: 1.0 secondMemory limit: 64 MBPlotters have barbarously hammered N nails into an innocent plane shape, so that one can see now only heads. Moreover, pursuing their m原创 2013-06-29 18:49:50 · 731 阅读 · 0 评论 -
Ural-1009. K-based Numbers(简单组合数)
1009. K-based NumbersTime limit: 1.0 secondMemory limit: 64 MBLet’s consider K-based numbers, containing exactly N digits. We define a number to be valid if itsK-based notation doesn’t contain two s原创 2013-06-30 19:57:04 · 714 阅读 · 0 评论 -
Ural-1083. Factorials!!!(水题)
1083. Factorials!!!Time limit: 1.0 secondMemory limit: 64 MBDefinition 1. n!!…! = n(n−k)(n−2k)…(n mod k), if k doesn’t divide n; n!!…! = n(n−k)(n−2k)…k, if k divides n (There are k marks ! in the原创 2013-06-30 19:44:57 · 536 阅读 · 0 评论 -
Ural-1084. Goat in the Garden(计算几何)
1084. Goat in the GardenTime limit: 1.0 secondMemory limit: 64 MBSomeone has let a goat in a square kitchen-garden and had bound it to a stake. The stake is driven into the ground in the very midst原创 2013-06-30 20:35:11 · 685 阅读 · 0 评论 -
Ural-1044. Lucky Tickets. Easy!(简单题)
1044. Lucky Tickets. Easy!Time limit: 2.0 secondMemory limit: 64 MBBackgroundThe public transport administration of Ekaterinburg is anxious about the fact that passengers don’t like to pay for passa原创 2013-06-30 20:23:30 · 894 阅读 · 0 评论 -
Ural-1014. Product of Digits(简单题)
1014. Product of DigitsTime limit: 1.0 secondMemory limit: 64 MBYour task is to find the minimal positive integer number Q so that the product of digits of Q is exactly equal to N.InputThe input c原创 2013-06-30 20:13:31 · 1246 阅读 · 0 评论 -
Ural-1005. Stone Pile(简单01背包)
1005. Stone PileTime limit: 1.0 secondMemory limit: 64 MBYou have a number of stones with known weights w1, …, wn. Write a program that will rearrange the stones into two piles such that weight di原创 2013-06-30 20:05:27 · 1499 阅读 · 0 评论 -
Ural-1068. Sum(水题)
1068. SumTime limit: 2.0 secondMemory limit: 64 MBYour task is to find the sum of all integer numbers lying between 1 and N inclusive.InputThe input consists of a single integer N that is not greate原创 2013-06-30 19:35:50 · 689 阅读 · 0 评论 -
Ural-1001. Reverse Root(水题)
1001. Reverse RootTime limit: 2.0 secondMemory limit: 64 MBThe problem is so easy, that the authors were lazy to write a statement for it!InputThe input stream contains a set of integer numbers Ai (原创 2013-06-30 19:10:45 · 801 阅读 · 0 评论 -
Ural-1025. Democracy in Danger(水题)
1025. Democracy in DangerTime limit: 1.0 secondMemory limit: 64 MBBackgroundIn one of the countries of Caribbean basin all decisions were accepted by the simple majority of votes at the general meet原创 2013-06-30 19:40:41 · 552 阅读 · 0 评论