"1?0???1001" is the test case my code in failing for.
I have made recursion calls for every scenario but for i=8, firstGoals = 3, secondGoals = 0 {This scenario is not coming. And I don't understand why}
Can someone help me with it please
# | 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 | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
"1?0???1001" is the test case my code in failing for.
I have made recursion calls for every scenario but for i=8, firstGoals = 3, secondGoals = 0 {This scenario is not coming. And I don't understand why}
Can someone help me with it please
I have read many blogs, and came to the conclusion that I have to do questions based on ratings. So I started doing 1000 rated questions(by hiding the tags) until I was comfortable and so on increased the difficulty level. Currently I am doing 1400 rated questions. But I feel like my CP skills are not increasing as I expected. I know it might be too early to say that.
I have practiced topics like graphs, DP, trees etc. This is my LeetCode Profile
I'll be glad if someone could give me some tips, like, is it just practice that I need or something more. So this is Codeforces Visualizer , in case you need to check my profile to see my weak points or so.
I did this question by Segment tree but my solution is throwing TLE. I I think the TC is O(n logn) for larger cases. So I think it should work this way but it is failing. Is it not possible to further optimize it doing this way ?
In my both solutions, i am storing the frequencies of the values in maps and then pushing in priority queue. When I use unordered_map, it throws tle. But if I use map, it is accepted. Can someone explain Why ?
Problem : 1324-D Submission : My Solution
It is giving WA, but Test case is long and can't figure out the mistake.
If someone registered for a contest. But didn't made any submissions, then would the rating be updated ?
I was solving a question 1367C.
But my code is failing for certain test cases and I am not able to figure out which test case is it failing for.
Can someone just help me out please.
Name |
---|