摘要: D2. The World Is Just a Programming Task (Hard Version) This is a harder version of the problem. In this version, 𝑛≤300000. Vasya is an experienced d 阅读全文
posted @ 2019-11-12 18:15 qscqesze 阅读(449) 评论(1) 推荐(0) 编辑
摘要: B. Grow The Tree Gardener Alexey teaches competitive programming to high school students. To congratulate Alexey on the Teacher's Day, the students ha 阅读全文
posted @ 2019-11-12 16:08 qscqesze 阅读(332) 评论(0) 推荐(0) 编辑
摘要: A. Integer Points DLS and JLS are bored with a Math lesson. In order to entertain themselves, DLS took a sheet of paper and drew 𝑛 distinct lines, gi 阅读全文
posted @ 2019-11-12 15:35 qscqesze 阅读(324) 评论(0) 推荐(0) 编辑
摘要: A. Ivan the Fool and the Probability Theory Recently Ivan the Fool decided to become smarter and study the probability theory. He thinks that he under 阅读全文
posted @ 2019-11-12 14:41 qscqesze 阅读(426) 评论(0) 推荐(1) 编辑