摘要:
You are given n segments on the coordinate axis Ox and the number k. The point is satisfied if it belongs to at least k segments. Find the smallest (b 阅读全文
摘要:
Arkady needs your help again! This time he decided to build his own high-speed Internet exchange point. It should consist of n nodes connected with mi 阅读全文
摘要:
A - Spreadsheets CodeForces - 1B In the popular spreadsheets systems (for example, in Excel) the following numeration of columns is used. The first co 阅读全文
摘要:
A - Twin Prime Conjecture HDU - 3792 If we define dn as: dn = pn+1-pn, where pi is the i-th prime. It is easy to see that d1 = 1 and dn=even for n>1. 阅读全文
摘要:
A - Radar Installation POJ - 1328 Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small isla 阅读全文