摘要: Disclaimer: there are lots of untranslateable puns in the Russian version of the statement, so there is one more reason for you to lea... 阅读全文
posted @ 2018-11-03 22:13 Exception2017 阅读(162) 评论(0) 推荐(0) 编辑
摘要: You are given nn segments on a coordinate line; each endpoint of every segment has integer coordinates. Some segments can degenerate t... 阅读全文
posted @ 2018-11-03 11:51 Exception2017 阅读(206) 评论(0) 推荐(0) 编辑
摘要: The sequence of integers a1,a2,…,aka1,a2,…,ak is called a good array if a1=k−1a1=k−1 and a1>0a1>0 . For example, the sequences [3,−1,4... 阅读全文
posted @ 2018-11-03 11:40 Exception2017 阅读(156) 评论(0) 推荐(0) 编辑
摘要: E. We Need More Bossestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYour frien... 阅读全文
posted @ 2018-11-03 11:12 Exception2017 阅读(150) 评论(0) 推荐(0) 编辑
摘要: time limit per test3 secondsmemory limit per test768 megabytesYou are given an array aa consisting of nn integers, and qq queries to ... 阅读全文
posted @ 2018-11-03 11:04 Exception2017 阅读(431) 评论(0) 推荐(0) 编辑