摘要:
[codeforces934E]A Colourful Prospect 试题描述 Firecrackers scare Nian the monster, but they're wayyyyy too noisy! Maybe fireworks make a nice complement. 阅读全文
摘要:
[codeforces934D]A Determined Cleanup 试题描述 In order to put away old things and welcome a fresh new year, a thorough cleaning of the house is a must. Li 阅读全文
摘要:
2018北京冬令营测试 "题面戳我!" Problem A 题解 我们发现“所有数加起来等于线索上的权值”这个东西可以用流量平衡来解决,所以可以跑上下界费用流。 建图就是,把上下线索放左边,左右线索放右边,源点向所有上下线索连一个上下界均为对应权值的边,同理左右线索向汇点连一个上下界均为对应权值的边 阅读全文