struct info{
Int corp;
Int team;
};
map<int, info> member;
map<info, vector<int>> teams;
【 在 speedboy2998 的大作中提到: 】
: 有多个公司,每个公司有多个组,每个公司的每个职员属于且仅属于公司的某个组。
: 现在知道一个职员的ID,怎么快速地找出得到他所在组的全部成员。
:
: 我简单设计了一个觉得太麻烦了。
:
: std::map<int64\_t, std::map<int64\_t, std::s
: ..................
发自「今日水木 on M2007J17C」
--
FROM 36.143.59.*