随笔分类 -  贪心专题

基础算法
摘要:Maxim always goes to the supermarket on Sundays. Today the supermarket has a special offer of discount systems. There are m types of discounts. We ass 阅读全文
posted @ 2019-08-21 09:04 风骨散人 阅读(195) 评论(0) 推荐(0)
摘要:A. Sum in the tree A. Sum in the tree Mitya has a rooted tree with nn vertices indexed from 11 to nn, where the root has index 11. Each vertex vv init 阅读全文
posted @ 2019-08-06 16:54 风骨散人 阅读(150) 评论(0) 推荐(0)