№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 155 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | djm03178 | 152 |
I have been on CodeForces for >1y and I have studied various topics from different websites, but BitMasks is that one topic that I never found my way with.
I can solve 1800+ rated questions from Graph and DP, but I am not able to solve 1400+ rated questions from BitMasks.
I have read the theory, of how it works, but still, I am not able to solve its questions, sometimes, I don't even understand the editorial.
Here I am, asking the CodeForces community to guide me, as you guys have always been guiding me.
Thanks ;)
I was solving the last question (1433G - Уменьшение стоимости доставки) of the last Div3 round, and I got TLE at test case 3
Here is a link to the TLE solution by me : link
Here is link to ACCEPTED solution by icecuber : link
I even followed his code, so as to make different changes and make our code similar, but still, all I have is TLE. Please HELP!!
I'll be very short and clear:
PROBLEM: I want to learn Bitmasks DP and I am having trouble learning it.
What I did: I read few tutorials on a few websites such as HackerEarth, Quora, etc. I have got a little clue of what it's all about, but I don't have the complete picture and I am not able to solve problems.
How you can help: If you can provide links to some good beginner questions (that has an explanation for the solution), that would be really helpfull.
Thank You!!
I solved problem C, and compiled in on my machine, it worked fine.
Then I uploaded it, and I got RTE. To find any special error, I tried an online compiler** IDEONE**, again it worked fine there.
I did some minor changes to my code, Then again I submitted, fortunately, I got AC.
Still, I don't know what's the difference, Why only codeforces compiler gave me RTE? Please help me!
Here is my RTE solution: RTE solution Here is my Accepted solution: AC solution
I have been trying to learn Dynamic Programming for 2 months now, I completed a couple of youtube playlist, solved practice questions for beginners on Atcoder and some super easy questions on Codeforces.
Now, whenever I try questions from a range 1600+ questions, I am not able to do it. Also most of the time Editorial also does no good to me. I am on the verge of collapsing, it feels like Dp is not meant for me.
All those programmers who believe that they have a good grip in Dynamic Programming, Please show some support to me, share some resources to me and guide me a little.
Thanks in advance.
With Regards, Anubhav Singhal
I am using the sublime editor for running my code on my machine. And I am using File I/O like this:
#ifndef ONLINE_JUDGE freopen("/home/zeddie/Documents/input.txt","r",stdin); freopen("/home/zeddie/Documents/output.txt","w",stdout); freopen("/home/zeddie/Documents/error.txt","w",stderr); #endif __
#### PROBLEM: Sometimes when I do some error in my program that leads to an infinite loop, then my programs produce infinite output and programs keeps on running and my system starts lagging. Only option I have now is to reboot my machine.
Can anyone help me with this?
Название |
---|