摘要: 一看到这道题就感觉是爆搜,于是我们就枚举每一次Bessie的可能选择,选可能的最小字典序的序列,写出了这样的代码: #include <iostream> using namespace std; int T,n,m,k; int a[300010][10]; bool check(int p,in 阅读全文
posted @ 2024-03-24 15:28 xlaser 阅读(19) 评论(0) 推荐(0)