Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

conqueror_of_adamant's blog

By conqueror_of_adamant, history, 17 months ago, In English

given a set of $$$n \le 10^5$$$ range $$$[x_i, 2 \times x_i]$$$ and $$$\sum x_i \le 10^5$$$ determine the number of arrays $$$a$$$ such that $$$x_i \le a_i \le 2 \times x_i$$$ and all the elements in $$$a$$$ are pairwise distinct

| Write comment?
»
17 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

is this not just very simple combinatorics or am i tripping