today i have created this hard problem (at least for me). i am sure you find it interesting.
please read and solve :)
Gym link = https://codeforces.com/contestInvitation/bcfb569f9f1526e7330bc671f1b10a0d7aaa587e
# | User | Rating |
---|---|---|
1 | tourist | 3771 |
2 | jiangly | 3688 |
3 | Um_nik | 3539 |
4 | slime | 3498 |
5 | djq_cpp | 3486 |
6 | MiracleFaFa | 3466 |
7 | ksun48 | 3452 |
8 | Radewoosh | 3406 |
9 | greenheadstrange | 3393 |
10 | xtqqwq | 3382 |
# | User | Contrib. |
---|---|---|
1 | -is-this-fft- | 183 |
2 | awoo | 181 |
3 | YouKn0wWho | 177 |
4 | Um_nik | 175 |
5 | dario2994 | 172 |
6 | Monogon | 171 |
7 | adamant | 168 |
8 | maroonrk | 167 |
9 | antontrygubO_o | 166 |
10 | errorgorn | 164 |
today i have created this hard problem (at least for me). i am sure you find it interesting.
please read and solve :)
Gym link = https://codeforces.com/contestInvitation/bcfb569f9f1526e7330bc671f1b10a0d7aaa587e
I am solving a problem in which at some point i need to find answer for this sequence, when $$$n$$$ is known.
$$$n\times(n + 1) \; + \; (n - 1)\times n \; + \; (n - 2)\times (n - 1) \; + \; (n - 3)\times (n-2) \ldots 1\times 2$$$
it has $$$n$$$ terms.
Ans = $$$\frac{n \times (n + 1) \times (n + 2)}{3}$$$
thanks sam_2912 for help.
there is one Problem with two Parts($$$n \le 400$$$ and $$$n \le 2\times10^5$$$)
i would love if you see and solve the problems!
gym link : https://codeforces.com/contestInvitation/ef9be4fa454826fa1bcc152a56c098d0b5c260f8
UPD : I have also Uploaded Editorial, Link : Editorial
Name |
---|