摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudXenia and Bit OperationsXenia the beginner programmer has a sequencea, consisting of2nnon-negative int...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudXenia and WeightsXenia has a set of weights and pan scales. Each weight has an integer weight from 1 t...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudIahub and PermutationsIahub is so happy about inventing bubble sort graphs that he's staying all day l...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudBubble Sort GraphIahub recently has learned Bubble Sort, an algorithm that is used to sort a permutati...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudTourist ProblemIahub is a big fan of tourists. He wants to become a tourist himself, so he planned a t...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudC. Cupboard and BalloonsA girl named Xenia has a cupboard that looks like an arc from ahead. The arc i...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudD. Xenia and DominoesXenia likes puzzles very much. She is especially fond of the puzzles that consist...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudApple TransportationTime Limit:1 Second Memory Limit:32768 KBThere's a big apple tree in the forest. I...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudMarriage Match IITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total ...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudWarTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudSequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submissio...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudCyclic antimonotonic permutationsTime Limit: 20000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (J...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudLong Long MessageTime Limit:4000MSMemory Limit:131072KCase Time Limit:1000MSDescriptionThe little cat ...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraud求最长回文子串。http://acm.timus.ru/problem.aspx?space=1&num=1297Manacher模板题,复杂度O(n),做这题纯属是为了验一下自己写的模板是否正确。当然这...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraud动态树入门题,不需要维护任何信息。我用的是splay,下标实现的lct。 1 #include 2 #include 3 #include 4 #include 5 #include ...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudE. A and B and Lecture RoomsA and B are preparing themselves for programming contests.The University w...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudCheckersTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 125536/65536 K (Java/Others)Total Submissi...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudBook of EvilPaladin Manao caught the trail of the ancient Book of Evil in a swampy area. This area con...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudSystem AdministratorBob got a job as a system administrator in X corporation. His first task was to co...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudMissile SilosA country called Berland consists of n cities, numbered with integer numbers from 1 to n....
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudMr. Kitayuta's Colorful GraphMr. Kitayuta has just bought an undirected graph consisting of n vertices...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudDNA SequenceTime Limit: 1000MSMemory Limit: 65536KDescriptionIt's well known that DNA Sequence is a se...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudCrazy SearchTime Limit: 1000MSMemory Limit: 65536KDescriptionMany people like to solve hard puzzles so...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudD. Prefixes and SuffixesYou have a string s = s1s2...s|s|, where |s| is the length of string s, and si...
阅读全文
摘要:转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudSequenceTime Limit: 5000MSMemory Limit: 65536KCase Time Limit: 2000MSDescriptionGiven a sequence, {A1,...
阅读全文