摘要:
#include <iostream>using namespace std; typedef struct bnode{int value;bnode* left;bnode* right;}bnode; #define MAX 7 bnode* head;void AppendNode(bnode * bn,bnode* h); bnode* CreateNode(){bnode... 阅读全文
摘要:
#include <iostream>using namespace std;int KillMan(int a[],int nLen,int key){int i = 0 ,j = 0 ,count = 0,killerNum = 0;bool flag = true;if(nLen < key)return -1;while(flag){if(a[i] == 0){count... 阅读全文