This week has had many days where Codeforces went offline. I'm just wondering why this would happen... Thanks to the codeforces team for restoring the website and servers quickly each time!
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3831 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | gamegame | 3386 |
10 | ksun48 | 3373 |
# | User | Contrib. |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
This week has had many days where Codeforces went offline. I'm just wondering why this would happen... Thanks to the codeforces team for restoring the website and servers quickly each time!
Hello Community
I'm wondering what's a good amount of time to stop and look at the solution for thinking of a problem. Usually, I think about a problem for 15-30 minutes before looking at a solution. During that time, I try to solve it naively, and speed it up OR run through a checklist of different techniques to do, Dp, Greedy, etc..
I'm wondering if it is worth it to spend more time, and if it is even possible to solve problems given an infinite amount of time.
Ex. Can a 1200 solve a 2000 hard problem given 5 days? Maybe impossible... maybe not... What is your experience?
Thanks Fluffy-
Hello fellow Coders
I just submitted something it got WA after about 7000 test queries were correct. The test input size is huge, so there is no way for me to debug it in a feasible amount of time. I've checked all my code for common errors: long overflow, small issues, whatever. I'm sure this has happened to many people before.... How do you recommend debugging such a case? Is there anything to look for?
Thank you
Hello all
Typically lazy propagation and segment tree updates come in the form "increase range l-r by diff". What if you want to update a segment tree like "update range l-r to val". So instead of a difference, you tell it precisely what number to update to.
How would you do this? Is there an article somewhere about this?
Hello world! There is a choose function in math like "A choose B" notated sometimes like aCb I'm wondering if you can calculate this in O(1) in a program. Given two a and b, calculate a choose b.
You can definitely precompute many values, in an O(ab) loop keeping the factorials, but Can you do it without precomputation? However, precomputing also risks long long overflow. (usually choosing is much lower then the direct factorial value) Thank you
Name |
---|