摘要:
题意:给定n个数和m次操作。 1xi 表示将前xi个数升序排列. 2xi 表示将前xi个数降序排列. 让你输出变化后的序列. Each month Blake gets the report containing main economic indicators of the company "Bl 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; const int maxn = 1200; int fa[maxn]; int main(){ int n, m; scanf("%d%d", &n, &m); for(int i = 1; i <= n+ 阅读全文
摘要:
Hogwarts is under attack by the Dark Lord, He-Who-Must-Not-Be-Named. To protect the students, Harry Potter must cast protective spells so that those w 阅读全文