I have been trying to solve DIV2 C's for a long time and yes i do solve them ,but miss them by like 10-20 minutes.**Any suggestions on what can i do to improve timing and the rating range so that i can solve 30% of them**. Thank You.
# | User | Rating |
---|---|---|
1 | tourist | 3843 |
2 | jiangly | 3705 |
3 | Benq | 3628 |
4 | orzdevinwang | 3571 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | jqdai0815 | 3530 |
8 | ecnerwala | 3499 |
9 | gyh20 | 3447 |
10 | Rebelz | 3409 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 171 |
2 | adamant | 164 |
3 | awoo | 163 |
4 | TheScrasse | 156 |
5 | nor | 153 |
6 | maroonrk | 152 |
6 | -is-this-fft- | 152 |
8 | Petr | 145 |
9 | orz | 144 |
9 | pajenegod | 144 |
I have been trying to solve DIV2 C's for a long time and yes i do solve them ,but miss them by like 10-20 minutes.**Any suggestions on what can i do to improve timing and the rating range so that i can solve 30% of them**. Thank You.
I am unable to find out why binary search wont work with this problem Apartments. My Solution using BS:Solution
I have been trying this question 1895C - Порванный счастливый билет and my approach seems to be somewhat aligned with the tutorial but i m not getting AC due to some error in my code 241201430 .Please tell me where i got wrong with the solution.
Can someone please help me out with the solution of this problem "Natsya decided to visit a local store, which has n items. The i-th item has price a[i]
She has to buy k items out of the n items such that total price of all the items bought is minimum.
In how ways she can buy k items such that the overall price is minimum?"
1<=k<=n<=50 a[i]<=n
I have tried to solve it but it is failing in some hidden cases Code.
I have been stuck on the problem and this is best solution i could think and it has failed Question:String Generator My Solution:Based on two pointers checking right and left Please help me and where my solution was wrong and how can it be improved as i havent found an answer to the problem...
I need help in solving a question Question A ,also i tried too hard to understand how to do it from video but couldnt understand it properly...
Name |
---|