Loading

上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 75 下一页
摘要: 题目描述 The only difference between easy and hard versions is constraints. You are given a sequence a a a consisting of n n n positive integers. Let's de 阅读全文
posted @ 2020-04-14 18:34 脂环 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You are given a correct solution of the sudoku puzzle. If you don't know what is the sudoku, you can read about it here. The picture showing the 阅读全文
posted @ 2020-04-14 11:52 脂环 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You have n n n students under your control and you have to compose exactly two teams consisting of some subset of your students. Each student had 阅读全文
posted @ 2020-04-14 09:32 脂环 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You are given three positive integers n n n , a a a and b b b . You have to construct a string s s s of length n n n consisting of lowercase Lati 阅读全文
posted @ 2020-04-14 08:16 脂环 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 题目描述 There are two sisters Alice and Betty. You have n n n candies. You want to distribute these n n n candies between two sisters in such a way that: 阅读全文
posted @ 2020-04-14 08:11 脂环 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 在完成了分配任务之后,西部314来到了楼兰古城的西部。 相传很久以前这片土地上(比楼兰古城还早)生活着两个部落,一个部落崇拜尖刀(‘V’),一个部落崇拜铁锹(‘∧’),他们分别用V和∧的形状来代表各自部落的图腾。 西部314在楼兰古城的下面发现了一幅巨大的壁画,壁画上被标记出了N个点,经测量发现这N 阅读全文
posted @ 2020-04-13 21:21 脂环 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 题目描述 如题,已知一个数列,你需要进行下面两种操作: 将某区间每一个数数加上 xxx; 求出某一个数的值。 输入格式 第一行包含两个整数 NNN、MMM,分别表示该数列数字的个数和操作的总个数。 第二行包含 NNN 个用空格分隔的整数,其中第 iii 个数字表示数列第 ii i 项的初始值。 接下 阅读全文
posted @ 2020-04-13 19:45 脂环 阅读(172) 评论(0) 推荐(0) 编辑
摘要: You have an array aa of length nn . For every positive integer xx you are going to perform the following operation during the xx -th second: Select so 阅读全文
posted @ 2020-04-13 11:06 脂环 阅读(339) 评论(0) 推荐(0) 编辑
摘要: You have array of nn numbers a1,a2,…,ana1,a2,…,an . Rearrange these numbers to satisfy |a1−a2|≤|a2−a3|≤…≤|an−1−an||a1−a2|≤|a2−a3|≤…≤|an−1−an| , where 阅读全文
posted @ 2020-04-13 10:50 脂环 阅读(248) 评论(0) 推荐(0) 编辑
摘要: You have integer nn. Calculate how many ways are there to fully cover belt-like area of 4n−24n−2 triangles with diamond shapes. Diamond shape consists 阅读全文
posted @ 2020-04-13 10:41 脂环 阅读(420) 评论(0) 推荐(0) 编辑
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 75 下一页