摘要:
A. The Meaningless Game time limit per test:1 second memory limit per test:256 megabytes input:standard input output:standard output Slastyona and her 阅读全文
posted @ 2017-11-12 18:59
Veritas_des_Liberty
阅读(390)
评论(0)
推荐(0)
摘要:
/*堆排序(大顶堆)*/ #include #include using namespace std; void HeapAdjust(int *a,int i,int size) //调整堆 { int lchild=2*i; //i的左孩子节点序号 int rchild=2*i+1; //i的右孩子节点序号 int max=... 阅读全文
posted @ 2017-11-12 17:54
Veritas_des_Liberty
阅读(199)
评论(0)
推荐(0)
摘要:
1 #include<iostream> 2 using namespace std; 3 4 #define N 100 5 6 int g_array[N]; //存放输入的数字 7 static int count; //存放元素的个数 8 9 //初始化函数 10 void Initial( 阅读全文
posted @ 2017-11-12 17:34
Veritas_des_Liberty
阅读(249)
评论(0)
推荐(0)

浙公网安备 33010602011771号