URAL
文章平均质量分 85
sxk_sxy
努力用自己辛勤的汗水,成为一名真正的ACMer
展开
-
URAL 2035. Another Dress Rehearsal (乱搞)
2035. Another Dress RehearsalTime limit: 0.5 secondMemory limit: 64 MBIf you have a long history of participating in programming contests, you should know that the dress rehearsal is the m原创 2015-06-15 13:07:45 · 758 阅读 · 0 评论 -
URAL 1120. Sum of Sequential Numbers (数学)
1120. Sum of Sequential NumbersTime limit: 1.0 secondMemory limit: 64 MBThere is no involute formulation concerning factitiously activity of SKB Kontur in this problem. Moreover, there is原创 2015-06-21 15:45:19 · 851 阅读 · 0 评论 -
URAL 1563. Bayan (STL map)
1563. BayanTime limit: 1.0 secondMemory limit: 64 MBAs everybody knows, there are a lot of stores in skyscrapers, it's the favourite place of glamorous girls. Blonde Cindy loves only one原创 2015-06-01 13:09:12 · 739 阅读 · 0 评论 -
URAL 1638. Bookworm
1638. BookwormTime limit: 1.0 secondMemory limit: 64 MBPetya bought a 100-volume edition of Advice of Veterans of Programming Contests and hoped that the succession of his failures would c原创 2015-06-19 14:54:24 · 719 阅读 · 0 评论 -
URAL 1290. Sabotage (sortings)
1290. SabotageTime limit: 1.0 secondMemory limit: 64 MBIt is the seventh year of the terrible harmful Galaxy War... Leo Hao is one of the first defenders of his planet. He is lucky! He has原创 2015-06-22 11:44:26 · 716 阅读 · 0 评论 -
URAL 1139. City Blocks (数论)
1139. City BlocksTime limit: 1.0 secondMemory limit: 64 MBThe blocks in the city of Fishburg are of square form.N avenues running south to north and M streets running east to west bound原创 2015-06-19 14:06:43 · 776 阅读 · 0 评论 -
URAL 1654. Cipher Message (STL stack)
1654. Cipher MessageTime limit: 1.0 secondMemory limit: 64 MBMüller tried to catch Stierlitz red-handed many times, but alwaysfailed because Stierlitz could ever find some excuse. Once Sti原创 2015-05-30 13:44:24 · 807 阅读 · 0 评论 -
URAL 1209. 1, 10, 100, 1000... (规律 + 二分)
1209. 1, 10, 100, 1000...Time limit: 1.0 secondMemory limit: 64 MBLet's consider an infinite sequence of digits constructed of ascending powers of 10 written one after another. Here is原创 2015-03-06 20:49:15 · 927 阅读 · 0 评论 -
URAL 1194. Handshakes (乱搞)
1194. HandshakesTime limit: 1.0 secondMemory limit: 64 MBA party at the "Prancing Pony" tavern was over and the hobbits were breaking up. At the first crossroad all the company fell into原创 2015-06-17 11:00:51 · 885 阅读 · 0 评论 -
URAL 1502. Domino Dots (找规律)
1502. Domino DotsTime limit: 0.5 secondMemory limit: 64 MBIn order to run huge capitals, New Russians need exceptional brains. Of course, with such workload, they also need peculiar relaxa原创 2015-06-17 07:47:11 · 863 阅读 · 0 评论 -
URAL 1196. History Exam (二分)
1196. History ExamTime limit: 1.5 secondMemory limit: 64 MBProfessor of history decided to simplify the examination process. At the exam, every student should write a list of historic原创 2015-03-12 17:37:54 · 989 阅读 · 0 评论 -
URAL 2005. Taxi for Programmers
2005. Taxi for ProgrammersTime limit: 0.5 secondMemory limit: 64 MBThe clock shows 11:30 PM. The sports programmers of the institute of maths and computer science have just finished th原创 2015-03-22 10:38:06 · 790 阅读 · 0 评论 -
URAL 1723. Sandro's Book
1723. Sandro's BookTime limit: 0.5 secondMemory limit: 64 MBIt's been quite a number of years since Lich Sandro retired. Sometimes in the evenings, when he feels especially lonely, he原创 2015-03-22 09:01:29 · 871 阅读 · 0 评论 -
URAL 1925. British Scientists Save the World
1925. British Scientists Save the WorldTime limit: 1.0 secondMemory limit: 64 MBThe world is in danger! Aliens threw a mysterious device to Earth n years ago. Every year an unknown sig原创 2015-03-11 07:40:49 · 847 阅读 · 0 评论 -
URAL 1585. Penguins (字符串)
1585. PenguinsTime limit: 1.0 secondMemory limit: 64 MBProgrammer Denis has been dreaming of visiting Antarctica since his childhood. However, there are no regular flights to Antarctic原创 2015-03-07 16:02:24 · 657 阅读 · 0 评论 -
URAL 1106. Two Teams (二分图)
1106. Two TeamsTime limit: 1.0 secondMemory limit: 64 MBThe group of people consists of N members. Every member has one or more friends in the group. You are to write program that divides原创 2015-06-20 10:51:00 · 1080 阅读 · 0 评论 -
URAL 1180. Stone Game (博弈 + 规律)
1180. Stone GameTime limit: 1.0 secondMemory limit: 64 MBTwo Nikifors play a funny game. There is a heap ofN stones in front of them. Both Nikifors in turns take some stones from the hea原创 2015-06-23 16:05:33 · 853 阅读 · 0 评论 -
URAL 1902. Neo-Venice
1902. Neo-VeniceTime limit: 1.0 secondMemory limit: 64 MBMars was the first planet colonized by humans. After a long terraforming process its appearance has changed completely. From the re原创 2015-06-23 13:15:23 · 738 阅读 · 0 评论 -
URAL 2011. Long Statement (数论)
2011. Long StatementTime limit: 0.5 secondMemory limit: 64 MBNikita, a schoolboy, is currently taking part in one of programming contests.He is really upset because all the problem stateme原创 2015-06-15 18:31:50 · 575 阅读 · 0 评论 -
URAL 1712. Cipher Grille (模拟)
1712. Cipher GrilleTime limit: 0.5 secondMemory limit: 64 MBOur program committee uses different tools for problem development: a mailing list, a version control system, an administration原创 2015-06-15 15:28:45 · 754 阅读 · 0 评论 -
URAL 1083. Factorials!!! (阅读理解)
1083. Factorials!!!Time limit: 1.0 secondMemory limit: 64 MBDefinition 1. n!!…! = n(n−k)(n−2k)…(n mod k), ifk doesn’t divide n; n!!…! = n(n−k)(n−2k)…k, ifk divides n (There are k mar原创 2015-06-15 23:40:54 · 1221 阅读 · 0 评论 -
URAL 1935. Tears of Drowned (水)
1935. Tears of DrownedTime limit: 1.0 secondMemory limit: 64 MBTia Dalma: Come. What service may I do you? You know I demand payment.Jack: I brought payment. Look. An undead monkey. Top原创 2015-06-15 13:21:23 · 649 阅读 · 0 评论 -
URAL 2002. Test Task (阅读理解)
2002. Test TaskTime limit: 0.5 secondMemory limit: 64 MBIt was an ordinary grim October morning. The sky was covered by heavy gray clouds. It was a little rainy. The rain drops fell on the原创 2015-05-25 19:53:08 · 725 阅读 · 0 评论 -
URAL 1792. Hamming Code (枚举)
1792. Hamming CodeTime limit: 1.0 secondMemory limit: 64 MBLet us consider four disks intersecting as in the figure. Each of the three shapes formed by the intersectionof three disks will原创 2015-06-09 21:08:10 · 851 阅读 · 0 评论 -
URAL 1224. Spiral (规律)
1224. SpiralTime limit: 1.0 secondMemory limit: 64 MBA brand new sapper robot is able to neutralize mines in a rectangular region having integer height and width (N andM respectively原创 2015-06-07 11:42:55 · 931 阅读 · 0 评论 -
URAL 1457. Heating Main
1457. Heating MainTime limit: 1.0 secondMemory limit: 64 MBBackgroundI like my hometown very much. Those dilapidated buildings rising proudly above the city and streets dug up as far bac原创 2015-06-07 10:38:20 · 596 阅读 · 0 评论 -
URAL 2025. Line Fighting (math)
2025. Line FightingTime limit: 1.0 secondMemory limit: 64 MBBoxing, karate, sambo… The audience is sick of classic combat sports. That is why a popular sports channel launches a new compet原创 2015-06-24 14:46:00 · 1425 阅读 · 0 评论 -
URAL 1131. Copying (math)
1131. CopyingTime limit: 0.25 secondMemory limit: 64 MBA new educating program was received by the kindergarten. Of course, children have discovered it immediately and want to play with it原创 2015-06-23 18:39:22 · 631 阅读 · 0 评论 -
URAL 2031. Overturned Numbers (枚举)
2031. Overturned NumbersTime limit: 1.0 secondMemory limit: 64 MBLittle Pierre was surfing the Internet and came across an interesting puzzle:What is the number under the car?原创 2015-06-23 11:43:29 · 1468 阅读 · 0 评论 -
URAL 1404. Easy to Hack! (模拟)
1404. Easy to Hack!Time limit: 1.0 secondMemory limit: 64 MBWhen Vito Maretti writes an important letter he encrypts it. His method is not very reliable but it’s enough to make any detecti原创 2015-06-23 11:24:44 · 702 阅读 · 0 评论 -
URAL 1601. AntiCAPS (strings)
1601. AntiCAPSTime limit: 0.5 secondMemory limit: 64 MBThe blonde Angela has a new whim: internet chats. Of course, as any blonde, shewrites her messages using the upper case. You are the原创 2015-06-24 11:45:09 · 757 阅读 · 0 评论 -
URAL 1796. Amusement Park (math)
1796. Amusement ParkTime limit: 1.0 secondMemory limit: 64 MBOn a sunny Sunday, a group of children headed by their teacher came to an amusement park. Aunt Frosya,who was a very kind and q原创 2015-06-23 17:12:35 · 727 阅读 · 0 评论 -
URAL 1607. Taxi
1607. TaxiTime limit: 0.5 secondMemory limit: 64 MBPetr likes going by taxi. For him, it is not only the pleasure of a fast and comfortable ride, but also the opportunity to bargain wi原创 2015-03-11 13:41:20 · 834 阅读 · 0 评论 -
URAL 1636. Penalty Time
1636. Penalty TimeTime limit: 1.0 secondMemory limit: 64 MBThe ZZZ team failed once again. They took part in the contest in Yekaterinozavodsk and were the first to solve all the proble原创 2015-03-11 22:47:30 · 758 阅读 · 0 评论 -
URAL 1545. Hieroglyphs
1545. HieroglyphsTime limit: 1.0 secondMemory limit: 64 MBVova is fond of anime. He is so enthusiastic about this art that he learned to communicate with his Japanese friends using the原创 2015-03-11 13:52:16 · 711 阅读 · 0 评论 -
URAL 1100. Final Standings (排序)
1100. Final StandingsTime limit: 1.0 secondMemory limit: 16 MBOld contest software uses bubble sort for generating final standings. But now, there are too many teams and that software原创 2015-03-08 12:31:26 · 865 阅读 · 0 评论 -
URAL 1881. Long problem statement
1881. Long problem statementTime limit: 0.5 secondMemory limit: 64 MBWhile Fedya was writing the statement of the problem GOV Chronicles, he realized that there might be not enough pap原创 2015-03-07 20:50:02 · 528 阅读 · 0 评论 -
URAL 1581. Teamwork
1581. TeamworkTime limit: 1.0 secondMemory limit: 64 MBVasya and Petya are going to participate in a team olympiad in informatics. They have listened to the stories told by the gurus o原创 2015-03-07 11:57:37 · 830 阅读 · 0 评论 -
URAL 1319. Hotel (模拟)
1319. HotelTime limit: 1.0 secondMemory limit: 64 MB— You programmers are lucky! You don't have to deal with these terrible people – designers… This story happened with me not so long原创 2015-03-06 23:14:25 · 609 阅读 · 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 intege原创 2015-03-06 19:32:28 · 690 阅读 · 0 评论