上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页
摘要: Like any unknown mathematician, Yuri has favourite numbers: AA, BB, CC, and DD, where A≤B≤C≤DA≤B≤C≤D. Yuri also likes triangles and once he thought: h 阅读全文
posted @ 2020-06-29 20:22 DeaL57 阅读(166) 评论(0) 推荐(0) 编辑
摘要: You are given an array aa consisting of nn integers. Indices of the array start from zero (i. e. the first element is a0a0, the second one is a1a1, an 阅读全文
posted @ 2020-06-28 20:17 DeaL57 阅读(186) 评论(0) 推荐(0) 编辑
摘要: You have a given picture with size w×hw×h. Determine if the given picture has a single "+" shape or not. A "+" shape is described below: A "+" shape h 阅读全文
posted @ 2020-06-27 16:13 DeaL57 阅读(220) 评论(0) 推荐(0) 编辑
摘要: The only difference between easy and hard versions is constraints. You are given a sequence aa consisting of nn positive integers. Let's define a thre 阅读全文
posted @ 2020-06-26 10:06 DeaL57 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Karl likes Codeforces and subsequences. He wants to find a string of lowercase English letters that contains at least kk subsequences codeforces. Out 阅读全文
posted @ 2020-06-25 00:01 DeaL57 阅读(199) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-06-24 22:51 DeaL57 阅读(200) 评论(0) 推荐(0) 编辑
摘要: You are given nn strings a1,a2,…,ana1,a2,…,an: all of them have the same length mm. The strings consist of lowercase English letters. Find any string  阅读全文
posted @ 2020-06-23 21:06 DeaL57 阅读(168) 评论(0) 推荐(0) 编辑
摘要: "OK, you are not too bad, em... But you can never pass the next test." feng5166 says."I will tell you an odd number N, and then N integers. There will 阅读全文
posted @ 2020-06-23 10:31 DeaL57 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Now I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brave ACMer, we always challenge ourselves to more difficult problems. Now y 阅读全文
posted @ 2020-06-23 10:08 DeaL57 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Polycarp wrote on the board a string ss containing only lowercase Latin letters ('a'-'z'). This string is known for you and given in the input. After 阅读全文
posted @ 2020-06-22 12:11 DeaL57 阅读(247) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页