"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 | 4009 |
2 | jiangly | 3821 |
3 | Benq | 3736 |
4 | Radewoosh | 3631 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3388 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
"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 |
---|