摘要:
There are nn segments [li,ri][li,ri] for 1≤i≤n1≤i≤n. You should divide all segments into two non-empty groups in such way that there is no pair of seg 阅读全文
摘要:
An accordion is a string (yes, in the real world accordions are musical instruments, but let's forget about it for a while) which can be represented a 阅读全文
摘要:
You are given qq queries in the following form: Given three integers lili, riri and didi, find minimum positive integer xixi such that it is divisible 阅读全文