摘要: A.序列 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long LL; 4 const LL mod = 1e9 + 7; 5 6 int main() { 7 int n, p; 8 scanf("%d %d", 阅读全文
posted @ 2018-07-08 16:05 Aguin 阅读(158) 评论(0) 推荐(0) 编辑
摘要: A.队列Q 随便on 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 1e5 + 10; 4 int q[maxn], f[maxn], b[maxn], vis[maxn]; 5 stack<int> F, 阅读全文
posted @ 2018-07-08 15:56 Aguin 阅读(165) 评论(0) 推荐(0) 编辑