摘要: Sagheer is working at a kindergarten. There are n children and m different toys. These children use well-defined protocols for playing with the toys: 阅读全文
posted @ 2017-06-02 17:07 perplex 阅读(491) 评论(2) 推荐(0)
摘要: Sagheer is playing a game with his best friend Soliman. He brought a tree with n nodes numbered from 1 to n and rooted at node 1. The i-th node has ai 阅读全文
posted @ 2017-06-02 09:51 perplex 阅读(220) 评论(0) 推荐(0)