摘要:
Problem Description ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so 阅读全文
摘要:
#include using namespace std; int parent(int i) { return i/2; } int left(int i) { return 2*i; } int right(int i) { return 2*i+1; } int MAX_HEAPIFY(int a[],int i,int n) { int l,r... 阅读全文