Is there any tool that fetches problems solved by a handle Rating-Wise? Like one has to input handle and rating and the tool will show up appropriate problems.
PS: Tried searching but didn't found one!!
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 170 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 160 |
5 | djm03178 | 158 |
5 | -is-this-fft- | 158 |
7 | adamant | 155 |
8 | Dominater069 | 154 |
9 | awoo | 152 |
10 | luogu_official | 151 |
Is there any tool that fetches problems solved by a handle Rating-Wise? Like one has to input handle and rating and the tool will show up appropriate problems.
PS: Tried searching but didn't found one!!
Hello, Hope you are doing well.
Problem link: https://codeforces.net/problemset/problem/1373/D Author's Editorial: https://codeforces.net/blog/entry/79376
According to the Author, we should use 2d DP but I am having a hard time understanding how and why these works.
"State of our dynamic programming is dpi,j where i∈[0;n] and j∈[0;2]. dpi,0 denotes the answer on the prefix of length I if we didn't start reversing the subarray, dpi,1 denotes the answer if we started reversing the subarray but didn't end it and dpi,2
denotes the answer if we ended reversing the subarray. Transitions are pretty easy:"
dpi+1,0=max(dpi+1,0,dpi,0+[i%2==0?ai:0]);
dpi+2,1=max(dpi+2,1,max(dpi,0,dpi,1)+[i%2==0?ai+1:ai]);
dpi+1,2=max(dpi+1,2,max(dpi,0,dpi,1,dpi,2)+[i%2==0?ai:0])
Please help me with how and why this works also how are we making sure that we don't reverse the array more than once?
PS: I have already searched and commented on editorial blog but no help from there.
Name |
---|