摘要:
题目描述 给定一个全部由小写英文字母组成的字符串,允许你至多删掉其中 3 个字符,结果可能有多少种不同的字符串? 输入格式: 输入在一行中给出全部由小写英文字母组成的、长度在区间 [4, 106] 内的字符串。 输出格式: 在一行中输出至多删掉其中 3 个字符后不同字符串的个数。 思路: 用 阅读全文
posted @ 2020-07-23 19:31
hachuochuo
阅读(401)
评论(0)
推荐(1)
摘要:
题目描述 Let aa and bb be two arrays of lengths nn and mm, respectively, with no elements in common. We can define a new array merge(a,b) of length n+mn+m 阅读全文
posted @ 2020-07-23 12:53
hachuochuo
阅读(91)
评论(0)
推荐(0)
摘要:
题目描述 You are given a graph consisting of nn vertices and mm edges. It is not guaranteed that the given graph is connected. Some edges are already dire 阅读全文
posted @ 2020-07-23 12:19
hachuochuo
阅读(58)
评论(0)
推荐(0)

浙公网安备 33010602011771号