mirror of
https://gitcode.com/Zengtudor/alg2025.git
synced 2025-09-04 01:01:43 +00:00
update
This commit is contained in:
parent
8f3a0f8984
commit
704ffb6b91
19
src/8/26/P2758.cpp
Normal file
19
src/8/26/P2758.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
|
||||
dp[i][j]=源串前i个字符匹配目标串前j个字符所需要的最小操作次数
|
||||
|
||||
如果第i个字符==第j个字符
|
||||
dp[i][j]=dp[i-1][j-1]
|
||||
如果不相等
|
||||
dp[i][j]=min{
|
||||
dp[i-1][j],
|
||||
dp[i][j-1],
|
||||
dp[i-1][j-1]
|
||||
}+1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
int main(){
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user