并查集
zl_666
这个作者很懒,什么都没留下…
展开
-
Cube Stacking
Description Farmer John and Betsy are playing a game with N (1 <= N <= 30,000)identical cubes labeled 1 through N. They start with N stacks, each containing a single cube. Farmer John asks Betsy to p原创 2015-08-24 21:29:48 · 261 阅读 · 0 评论 -
The Suspects
Description Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best str原创 2015-08-27 16:14:42 · 237 阅读 · 0 评论