240
功不唐捐,玉汝于成😡。
摘要: #include<bits/stdc++.h> using namespace std; void adjust_sort(int a[],int x,int n)//对长度为n的区间,第x个结点进行调整 { int l=2*x+1; int r=2*x+2;//左右子树 int max=x; if 阅读全文
posted @ 2019-12-16 17:21 BigXun 阅读(106) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); } tie 函数是解除c++运行库层面对数据传输的相关绑定,而ios::sy 阅读全文
posted @ 2019-12-16 12:24 BigXun 阅读(224) 评论(0) 推荐(0) 编辑