CodeForces - 931D Peculiar apple-tree(模拟树的结构,一定要从树根到树枝搜索,因为是从树根发叉的,树根为一个点,树枝为多个点)
In Arcady's garden there grows a peculiar apple-tree that fruits one time per year. Its peculiarity can be explained in following way: there are n inflorescences, numbered from 1 to n. Inflorescence n...
原创
2018-03-09 20:26:56 ·
489 阅读 ·
0 评论