07 2021 档案
摘要:AcWing 1012友好城市 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; const int N = 5e3+5; int n; struct Node{ int a, b; boo
阅读全文
摘要:AcWing 896 最长上升子序列II #include <iostream> #include <cstdio> using namespace std; const int N = 1e5+5; int n; int h[N]; int d[N]; //d[i]: 表示长度为i的递增序列的末尾
阅读全文