摘要: https://vjudge.net/problem/Aizu-ALDS1_9_C 1 #include<cstdio> 2 #include<queue> 3 using namespace std; 4 int main() 5 { 6 char com[20]; 7 priority_queu 阅读全文
posted @ 2020-12-08 20:17 BlackSnow 阅读(70) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/Aizu-ALDS1_9_B 1 #include<iostream> 2 using namespace std; 3 const int MAX=2000000; 4 int H,A[MAX+1]; 5 6 void maxHeapify(i 阅读全文
posted @ 2020-12-08 19:48 BlackSnow 阅读(132) 评论(0) 推荐(0)