摘要:
class Solution {public: bool wordPattern(string ptn, string str) { vector words=split(str); ... 阅读全文
posted @ 2019-02-27 22:34
开局一把刀
阅读(4)
评论(0)
推荐(0)
摘要:
#include #include #include #include #include using namespace std;struct cmp{ /*在左边(也就是队尾),优先级越低 * 默... 阅读全文
posted @ 2019-02-27 22:33
开局一把刀
阅读(9)
评论(0)
推荐(0)
摘要:
#include #include #include #include #include using namespace std;struct cmp{ /*在左边(也就是队尾),优先级越低 * 默... 阅读全文
posted @ 2019-02-27 22:33
开局一把刀
阅读(2)
评论(0)
推荐(0)
摘要:
#include #include #include #include #include using namespace std;struct cmp{ /*在左边(也就是队尾),优先级越低 * 默... 阅读全文
posted @ 2019-02-27 22:33
开局一把刀
阅读(3)
评论(0)
推荐(0)
摘要:
一def lower_bound(array, first, last, value): # 返回[first, last)内第一个不小于value的值的位置 while first = target) ... 阅读全文
posted @ 2019-02-27 22:28
开局一把刀
阅读(5)
评论(0)
推荐(0)
摘要:
一def lower_bound(array, first, last, value): # 返回[first, last)内第一个不小于value的值的位置 while first = target) ... 阅读全文
posted @ 2019-02-27 22:28
开局一把刀
阅读(5)
评论(0)
推荐(0)
摘要:
一def lower_bound(array, first, last, value): # 返回[first, last)内第一个不小于value的值的位置 while first = target) ... 阅读全文
posted @ 2019-02-27 22:28
开局一把刀
阅读(4)
评论(0)
推荐(0)
摘要:
给定两个单词 word1 和 word2,计算出将 word1 转换成 word2 所使用的最少操作数 。你可以对一个单词进行如下三种操作: 插入一个字符 删除一个字符 替换一个字符 思路:动态规划m n... 阅读全文
posted @ 2019-02-27 22:26
开局一把刀
阅读(5)
评论(0)
推荐(0)
摘要:
给定两个单词 word1 和 word2,计算出将 word1 转换成 word2 所使用的最少操作数 。你可以对一个单词进行如下三种操作: 插入一个字符 删除一个字符 替换一个字符 思路:动态规划m n... 阅读全文
posted @ 2019-02-27 22:26
开局一把刀
阅读(2)
评论(0)
推荐(0)
摘要:
给定两个单词 word1 和 word2,计算出将 word1 转换成 word2 所使用的最少操作数 。你可以对一个单词进行如下三种操作: 插入一个字符 删除一个字符 替换一个字符 思路:动态规划m n... 阅读全文
posted @ 2019-02-27 22:26
开局一把刀
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号