摘要:
堆排序 #include <iostream> #include <algorithm> using namespace std; void max_heapify(int arr[], int start, int end) { int dad = start; int son = dad * 2 阅读全文
摘要:
三个线程顺序打印A,B,C #include<iostream> #include<thread> #include<mutex> #include <condition_variable> using namespace std; std::mutex mtx; std::condition_va 阅读全文