2016年10月7日
摘要: A palindrome is a string that reads the same from the left as it does from the right. For example, I, GAG and MADAM are palindromes, but ADAM is not. 阅读全文
posted @ 2016-10-07 19:32 Beserious 阅读(374) 评论(0) 推荐(0) 编辑
摘要: A. Cut Ribbon time limit per test 1 second time limit per test memory limit per test 256 megabytes memory limit per test input standard input input ou 阅读全文
posted @ 2016-10-07 19:07 Beserious 阅读(360) 评论(0) 推荐(0) 编辑
摘要: B. Fence time limit per test 1 second time limit per test memory limit per test 256 megabytes memory limit per test input standard input input output 阅读全文
posted @ 2016-10-07 16:50 Beserious 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Let us consider sets of positive integers less than or equal to n. Note that all elements of a set are different. Also note that the order of elements 阅读全文
posted @ 2016-10-07 16:05 Beserious 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 1146. Maximum Sum Time limit: 0.5 secondMemory limit: 64 MB Given a 2-dimensional array of positive and negative integers, find the sub-rectangle with 阅读全文
posted @ 2016-10-07 15:53 Beserious 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Little Charlie is a nice boy addicted to candies. He is even a subscriber to All Candies Magazine and was selected to participate in the International 阅读全文
posted @ 2016-10-07 13:37 Beserious 阅读(364) 评论(0) 推荐(0) 编辑