# | User | Rating |
---|---|---|
1 | tourist | 3851 |
2 | jiangly | 3634 |
3 | Um_nik | 3539 |
4 | slime | 3498 |
5 | ksun48 | 3493 |
6 | djq_cpp | 3486 |
7 | maroonrk | 3471 |
8 | MiracleFaFa | 3466 |
9 | Radewoosh | 3442 |
10 | Petr | 3426 |
# | User | Contrib. |
---|---|---|
1 | -is-this-fft- | 183 |
2 | awoo | 181 |
3 | YouKn0wWho | 177 |
4 | Um_nik | 175 |
5 | dario2994 | 172 |
6 | Monogon | 170 |
6 | adamant | 170 |
8 | maroonrk | 169 |
9 | errorgorn | 166 |
10 | antontrygubO_o | 165 |
0
Yes -- it looks like you are keeping track of what digits appear in a single current number and then picking a digit to multiply by based on what maximizes the next number. What I am saying is that this decision of taking the largest of the results is not globally optimal. |
0
Note that it is not always optimal to multiply by the largest digit every time. See this comment (and maybe work it out on paper too). |
0
Typo: I meant TLE not WA. Sorry about that. |
0
In my experience, it does not make a significant difference. Perhaps it may be "optimal" but it likely won't be the difference between a TLE and AC. Hope this helps. Edit: Changed WA to TLE. |
0
It seems your chess rating correlates with your CF rating :D congrats |
+54
That was the smoothest segue into self-promotion I've ever seen xD. +1 (On a more serious note that video is very educational and helped me understand RMQ) :D |
0
Auto comment: topic has been updated by zekigurbuz (previous revision, new revision, compare). |
0
Thank you for the idea! I will look into it. |
0
Will do. I was meaning to learn more about treaps as well. Thank you for the reply. |
0
I wasn't really trying to use ordered_set to solve this problem. The reason I mentioned the problem was because it is what caused me to think about learning more about ordered_set in the first place. Thank you, though. |
0
It turns out that I was just being dumb (not being knowledgable in C++). The reason my code was breaking was because I was doing something like this: Thank you for helping me realize that. |
0
Auto comment: topic has been updated by zekigurbuz (previous revision, new revision, compare). |
On
stefdasca →
About Div. 4 Rounds and other useful suggestions for further improvement, 2 years ago
+5
I definitely agree with these ideas. It is quite rough to begin CP on a website like CodeForces when your first couple rounds are a tough Div. 2 or even sometimes Div. 3. My own concerns were about the stress on the CF infrastructure, especially with the recent queue problems and outages we have experienced since Div.4 rounds will surely bring thousands of new people to CF. Overall, any growth to the CF community is welcome in my opinion, and splitting up divisions more thoughtfully has been long overdue as well. As a participant of CF, I have observed the growth of the website during the pandemic, and think that although there are a lot of new green/grey participants that may seem to "saturate" the lower rankings of contests, I haven't observed significant rating inflation except maybe a small trend or for lower rated contestants which isn't a huge concern in my opinion. |
+7
Starting at the end, for every index, let's imagine some string such that it looks like Now imagine the left-most This remaining k value can also help us calculate the position of the right-most |
0
To view the hack: Your Profile -> Submissions -> Hacked Submission -> |
0
During the contest, my intuition was thinking that not all I knew that the extra space wouldn't really matter and played it safe. IDK if it makes a difference but I wasn't worried in-contest because I wanted to make sure I just got the task right. |
+2
I think your mistake is that you are keeping track of the last seen element rather than the first seen. |
+5
I believe that this is the first such Codeforces round. Hopefully it will be fixed by the time of the next round. I experienced the same problem during the round, and the only thing I could do was refresh often and log back in when necessary. |
+15
I see. In that case, here are some USACO Gold problems I would recommend that aren't just greedy. |
+11
|
+6
You can always look at the problemset and turn on the |
+4
Considering all times of the day modulo h, let Also, let's maintain boolean array Now, transitions can be calculated by setting Now, the answer is just the max I noticed a comment denoting a similar solution although my submission was in-contest unlike the other comment. |
+17
As far as I know, you cannot delete your account. |
0
Ah, thanks for the clarification |
0
Where are you seeing two? I only see one which is the Dasha contest... |
0
For practicing, I would recommend the following strategy: There is a website called http://clist.by which shows upcoming contests. Now I wouldn't necessarily recommend that you participate in every single possible contest, but I would say that it is a good idea to look at these contests, especially those that have editorials/tutorials posted and try to work through the problems with a calm mindset. If you aren't making any progress for a while, then look at the editorial. But go off of "time that you haven't made progress", not "time you have spent on the problem"... I find that doing virtual contests also helps a lot in practice because you can feel the slight stress of the contest environment without the full risk of your rating on the line. I would recommend CF virtual contests maybe every one or two days if you would like to see some progress quickly. All of this in mind, practicing doesn't ensure 100% that you will see results. It may take a few months even for you to get used to the stress that comes with partaking in contests. For me, it took a while to get past the phase of "oh no, now that I'm specialist, I shouldn't do this contest. I worked so hard to get here and what if I lose 100 rating or so and become pupil again?" This isn't a healthy mindset to have because if you fear failure, you essentially fear progress as well. That is the way CF works. Anyways, hopefully this is helpful/motivational. I wish you luck in your practices and contests! |
0
Here is all of tourist's problemsetting: (https://codeforces.com/contests/writer/tourist). Some rounds are written solely or almost solely by him. |
Name |
---|