摘要:
Disclaimer: there are lots of untranslateable puns in the Russian version of the statement, so there is one more reason for you to lea... 阅读全文
摘要:
You are given nn segments on a coordinate line; each endpoint of every segment has integer coordinates. Some segments can degenerate t... 阅读全文
摘要:
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... 阅读全文
摘要:
E. We Need More Bossestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYour frien... 阅读全文
摘要:
time limit per test3 secondsmemory limit per test768 megabytesYou are given an array aa consisting of nn integers, and qq queries to ... 阅读全文