# | 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 |
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?
Name |
---|