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 阅读全文
posted @ 2021-07-14 22:28 chaosliang 阅读(24) 评论(0) 推荐(0) 编辑
摘要: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的递增序列的末尾 阅读全文
posted @ 2021-07-13 22:36 chaosliang 阅读(35) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示