My name is d1312 which means I want to reach 1312 rating at the end of the year. Please tell me how to do that.
What does d in d1312 mean and why are you named that
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 165 |
2 | maomao90 | 163 |
2 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
My name is d1312 which means I want to reach 1312 rating at the end of the year. Please tell me how to do that.
Because I want to reach 1312 rating at the end of the year. Several months ago, my friend with 1311 rating called me a "dd" which is a serious insult to me, and I wanted to show him that I know I'm capable to overcome his rating at this very beginning.
Name |
---|
Don't rush, I beg. Go slowly. Solving more problems and understanding the logic is more important than increasing rank. Whatever, this year has almost ended. So, you have to have a brute force approach here. Cover more topics as much as possible. I haven't achieved 1312 yet, so I take your challenge as my challenge also. Happy Coding!
bro that's easy for u (u just solve 5 problems in a div 2 contest(in your first contest)) so i think u can reach candidate master in a few months
Use ChatGPT. It will let you check algorithmic ideas without wasting time for boring implementations. And it's implementations can be then used as editorial.
could you explain how to use GPT to check idea in more details?
Do you know the example B from AtCoder given as test problem to test their interface? You should sort an array interactively, asking which of 2 elements is bigger and swapping or doing whatever you want with this information. Constraints are 26 elements to be sorted
1) with <=1000 comparisons
2) with <=100 comparisons
and (3) — 5 elements to be sorted with 7 comparisons.
For each of 3 variants you get 100 points — AtCoder rules.
You can ask yourself how many comparisons are necessary. And why 100 and 1000. Maybe you have also heard about bubble sort and merge sort. The answers of ChatGPT o1-mini were long, so I just post my questions:
1) how many operations do I need to sort an array of size n with the merge sort?
2) But there are different cases, worst case and best case?
3) Can you break down the worst case for n=26, how many comparisons should be done in each step. The first step is 13 comparisons to get 13 sorted arrays with 2 elements each. And then? Assume that each merge needs maximum of comparisons, because the initial array is arranged in the worst thinkable way.
// here, it counted 115 comparisons — too much, because constraint is 100. So, I gave him an idea
4) we should adjust the scenario in a way that we merge the smallest array so early as possible, not at the end when we have one array of 24 and one of 2.
// here, it counted 88 comparisons in the worst case — constraint Ok!
5) what is the sum of 1 + 2 + ... + n ? // asking for bubble sort
// n * (n + 1) / 2
6) Is it also a number of operations needed to sort an array of n with the bubble sort?
// no, it is n * (n — 1) / 2
Here it is clear, why constraint 1000. It is for those who can't implement merge sort but can bubble sort, they get only this variant done. But if you can merge sort, you don't need bubble sort in this problem
7) how many comparisons do we need for n=5 in the worst case with merge sort?
// 8
hm, constraint is 7
8) Is there a way to sort an array of size 5 with 7 comparisons?
// yes, because ceil(log2(5!)) == 7
// you need a custom decision tree
CMs when they can't reach M be like:
Learn CP for yourself not for revenge, if you do this you can surpass the enemy!!!
Just be more Chinese. You simply are not Chinese enough.
Insert some Chinese genes into your DNA.
considering you solved F in a div 2, i think you will do just fine
It requires precise skill to hit exactly 1312 rating. Either skill or luck.