花费 17 ms
leetcode 编辑距离(动态规划)

给定两个单词 word1 和 word2,计算出将 word1 转换成 word2 所使用的最少操作数 。 你可以对一个单词进行如下三种操作: 插入一个字符删除一个字符替换一个字符示例 1: 输 ...

Wed Feb 26 06:53:00 CST 2020 0 693
CodeForces-1132F Clear the String

题目链接 https://vjudge.net/problem/CodeForces-1132F 题面 Description You are given a string \(s\) of ...

Fri Mar 08 20:47:00 CST 2019 3 362

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM