正文
增加 6 行删除 6 行
46 行未改动474849505152535455565758596048 行未改动10911011111211311411546 行未改动using namespace std;const int N = 2e3 + 10, M = 100, inf = 1e12, mod = 998244853;const double eps = 1e-8, pi = 3.1415926;/*_ _ _____ _| |_ | |_ ___| |___ _ _|_ / || | ' \ | ' \/ -_) / -_) ' \/__|\_, |_||_|_|_||_\___|_\___|_||_||__/ |___|*///int head[N], tot;//struct edge{48 行未改动}if(dp1[n][0] < n && dp2[n][0] < n)cout << "Yes"<< endl;else cout << "No" << endl;}return 0;}46 行未改动474849505152535455565758596048 行未改动10911011111211311411546 行未改动using namespace std;const int N = 2e3 + 10, M = 100, inf = 1e12, mod = 998244853;const double eps = 1e-8, pi = 3.1415926;/*_ _ _____ _| |_ | |_ ___| |___ _ _|_ / || | ' \ | ' \/ -_) / -_) ' \/__|\_, |_||_|_|_||_\___|_\___|_||_||__/ |___|*///int head[N], tot;//struct edge{48 行未改动}if(dp1[n][0] < n && dp2[n][0] < n)cout << "Yes"<< endl;else cout << "No" << endl;}return 0;}