poj 1634 Who's the boss?
摘要:
#include<iostream> //排序#include<stdio.h>#include<algorithm>#include<vector>using namespace std;int n,m,q,y,k;struct node{ int id,sala,height; int boss,child; //sub存储第一层下属的位置,child记录所有下属subordinate的数目 vector<int> sub; bool operator<(const node& o)const //降序 { retu 阅读全文
posted @ 2011-07-22 22:46 sysu_mjc 阅读(231) 评论(0) 推荐(0)
浙公网安备 33010602011771号