上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 57 下一页
摘要: Description Petya recieved a gift of a string s with length up to 105 characters for his birthday. He took two more empty strings t and u and decided 阅读全文
posted @ 2017-04-17 09:55 樱花落舞 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Description You are given sequence a1, a2, ..., an of integer numbers of length n. Your task is to find such subsequence that its sum is odd and maxim 阅读全文
posted @ 2017-04-17 09:50 樱花落舞 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Description Given a positive integer n, find k integers (not necessary distinct) such that all these integers are strictly greater than 1, and their p 阅读全文
posted @ 2017-04-17 09:43 樱花落舞 阅读(221) 评论(0) 推荐(0) 编辑
摘要: In computer science, the Knuth-Morris-Pratt string searching algorithm (or KMP algorithm) searches for occurrences of a "word" W within a main "text s 阅读全文
posted @ 2017-04-13 00:20 樱花落舞 阅读(432) 评论(0) 推荐(0) 编辑
摘要: Marjar Cola is on sale now! In order to attract more customers, Edward, the boss of Marjar Company, decides to launch a promotion: If a customer retur 阅读全文
posted @ 2017-04-13 00:10 樱花落舞 阅读(333) 评论(0) 推荐(0) 编辑
摘要: A - ι⊥l Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Three poles stand evenly spaced along a line. Their heights are  阅读全文
posted @ 2017-04-13 00:00 樱花落舞 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: Description Inzane finally found Zane with a lot of money to spare, so they together decided to establish a country of their own. Ruling a country is 阅读全文
posted @ 2017-04-12 23:08 樱花落舞 阅读(326) 评论(0) 推荐(0) 编辑
摘要: Description Although Inzane successfully found his beloved bone, Zane, his owner, has yet to return. To search for Zane, he would need a lot of money, 阅读全文
posted @ 2017-04-12 22:04 樱花落舞 阅读(404) 评论(0) 推荐(0) 编辑
摘要: Description Zane the wizard is going to perform a magic show shuffling the cups. There are n cups, numbered from 1 to n, placed along the x-axis on a 阅读全文
posted @ 2017-04-12 21:47 樱花落舞 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Description Zane the wizard had never loved anyone before, until he fell in love with a girl, whose name remains unknown to us. The girl lives in hous 阅读全文
posted @ 2017-04-12 21:37 樱花落舞 阅读(383) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 57 下一页