vjudge solve

Hackerland Radio Transmitters- HackerRank | Solution 2

Hackerland Radio Transmitters- HackerRank | Solution

Hackerland is a one-dimensional city with houses aligned at integral locations along a road. The Mayor wants to install radio transmitters on the roofs of the city’s houses. Each transmitter has a fixed range meaning it can transmit a signal to all houses within that number of units distance away. Given a map of Hackerland …

Hackerland Radio Transmitters- HackerRank | Solution Read More »

Polycarp Training CodeForces - 1165B | Solution 6

Polycarp Training CodeForces – 1165B | Solution

Polycarp wants to train before another programming competition. During the first day of his training he should solve exactly 11 problem, during the second day — exactly 22 problems, during the third day — exactly 33 problems, and so on. During the kk-th day he should solve kk problems.