上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 一、题面 You want to form a target string of lowercase letters. At the beginning, your sequence is target.length '?' marks. You also have a stamp of lower 阅读全文
posted @ 2018-11-08 15:06 Dybala21 阅读(438) 评论(0) 推荐(0)
摘要: 一、题面 一、题面 在给定的二维二进制数组 A 中,存在两座岛。(岛是由四面相连的 1 形成的一个最大组。) 现在,我们可以将 0 变为 1,以使两座岛连接起来,变成一座岛。 返回必须翻转的 0 的最小数目。(可以保证答案至少是 1。) 示例 1: 输入:[[0,1],[1,0]] 输出:1 示例 阅读全文
posted @ 2018-11-05 09:35 Dybala21 阅读(431) 评论(0) 推荐(0)
摘要: 题目: A single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number groups S1S2...Sk. Each 阅读全文
posted @ 2018-10-19 15:32 Dybala21 阅读(116) 评论(0) 推荐(0)
摘要: 题目: Transmitting and memorizing information is a task that requires different coding systems for the best use of the available space. A well known sys 阅读全文
posted @ 2018-10-19 08:52 Dybala21 阅读(193) 评论(0) 推荐(0)
摘要: 题目: "Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "The second problem is, given an pos 阅读全文
posted @ 2018-10-18 15:16 Dybala21 阅读(156) 评论(0) 推荐(0)
摘要: 题目: 假设有x1个字母A, x2个字母B,..... x26个字母Z,同时假设字母A的价值为1,字母B的价值为2,..... 字母Z的价值为26。那么,对于给定的字母,可以找到多少价值<=50的单词呢?单词的价值就是组成一个单词的所有字母的价值之和,比如,单词ACM的价值是1+3+14=18,单词 阅读全文
posted @ 2018-10-18 15:10 Dybala21 阅读(172) 评论(0) 推荐(0)
摘要: 题目: Longge is good at mathematics and he likes to think about hard mathematical problems which will be solved by some graceful algorithms. Now a probl 阅读全文
posted @ 2018-10-16 15:58 Dybala21 阅读(161) 评论(0) 推荐(0)
摘要: 一、题目 Chinese people think of '8' as the lucky digit. Bob also likes digit '8'. Moreover, Bob has his own lucky number L. Now he wants to construct his 阅读全文
posted @ 2018-10-07 12:14 Dybala21 阅读(327) 评论(0) 推荐(0)
摘要: 一、题目 A lattice point (x, y) in the first quadrant (x and y are integers greater than or equal to 0), other than the origin, is visible from the origin 阅读全文
posted @ 2018-10-06 17:20 Dybala21 阅读(186) 评论(0) 推荐(0)
摘要: 一、题目 The Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b with 0 < a < b <= n and gcd(a,b) = 1 arranged 阅读全文
posted @ 2018-10-06 16:38 Dybala21 阅读(178) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页