摘要:
Taxes CodeForces - 735D Mr. Funt now lives in a country with a very specific tax laws. The total income of mr. Funt during this year is equal to n (n 阅读全文
摘要:
Lucky Queries CodeForces - 145E Petya loves lucky numbers very much. Everybody knows that lucky numbers are positive integers whose decimal record con 阅读全文
摘要:
Traffic Jams in the Land CodeForces - 498D Some country consists of (n + 1) cities, located along a straight highway. Let's number the cities with con 阅读全文
摘要:
HDU-3664 Permutation Counting Given a permutation a1, a2, … aN of {1, 2, …, N}, we define its E-value as the amount of elements where ai > i. For exam 阅读全文
摘要:
A Simple Math Problem HDU-1757 Lele now is thinking about a simple function f(x). If x < 10 f(x) = x. If x >= 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 阅读全文