题目: 题解:
class Solution {public boolean isMatch(String s, String p) {int m s.length();int n p.length();boolean[][] f new boolean[m 1][n 1];f[0][0] true;for (int i 0; i < m; i) {for (int j 1; j < n; j) {if (p.charAt(j…
除法不能直接取模 1.数位排序 - 蓝桥云课 (lanqiao.cn)
#include <bits/stdc.h>
using namespace std;
#define int long long
const int N 1e67;
int a[N];//dp[i][j]表示第一个的前i个字符和第二个的前j个字符中不用换的个数
int n,k;
bool cmp(int x, int y) {int …