P2085 最小函数值
摘要:1 #include<iostream> 2 using namespace std; 3 4 int n, m; 5 int a[10010], b[10010], c[10010]; 6 int x[10010]; 7 8 int main() 9 { 10 cin >> n >> m; 11
阅读全文
posted @
2019-10-09 13:55
thjkhdf12
阅读(98)
推荐(0)
P2278 [HNOI2003]操作系统
摘要:1 #include<iostream> 2 #include<queue> 3 using namespace std; 4 5 #define debug(a) cout<<"debug: "<<a<<endl 6 7 struct Pro 8 { 9 int num, re, us, le;
阅读全文
posted @
2019-10-09 13:54
thjkhdf12
阅读(99)
推荐(0)
P1631 序列合并
摘要:1 #include<iostream> 2 #include<algorithm> 3 #include<queue> 4 using namespace std; 5 6 int a[100010]; 7 int b[100010]; 8 int p[100010]; 9 10 bool ope
阅读全文
posted @
2019-10-09 13:54
thjkhdf12
阅读(87)
推荐(0)
P1801 黑匣子_NOI导刊2010提高(06)
摘要:1 #include<iostream> 2 #include<queue> 3 #include<algorithm> 4 using namespace std; 5 6 priority_queue<int>heapb; 7 priority_queue<int, vector<int>, g
阅读全文
posted @
2019-10-09 13:53
thjkhdf12
阅读(97)
推荐(0)