Lord_David's blog

By Lord_David, history, 4 weeks ago, In English

Hello, could someone please explain this problem 450B - Jzzhu and Sequences to me. I've read the editorial and some other peoples code, but I'm not sure I completely understand it. Thanks in advance!

Read more »

 
 
 
 
  • Vote: I like it
  • -5
  • Vote: I do not like it

By Lord_David, history, 2 months ago, In English

Hello everyone, today is International Teachers Day. So I thought I'd use this as an opportunity to thank those members of the community that have helped me learn or improve in my competitive programming journey and encourage you to do the same in the comments. I want them all to know their efforts are appreciated by all of us.

So here's my personal thank list:

galen_colin for his great screencasts and awesome topic streams. He's really great at explaining topics and solutions and has been extremely helpful.

Errichto for his constant streams with great explanations and his topic tutorial videos. He is an incredible teacher and has also been very helpful.

pllk for his competitive programmers handbook. It is in my opinion the best book out there to get started and has been once of the most helpful resources for me.

1-gon for giving me general advice on how to practice and improve.

E869120 for his super helpful PDF on how to practice and what topics to learn.

tmwilliamlin168 because I only discovered competitive programming though his Youtube channel and might not have ever discovered codeforces and competitive programming otherwise.

And last but not least I'd like to thank all the people who've wrote great educational blogs or helped answer others questions on blog. It would be way to many to list here, but I want them to know that their efforts are also greatly appreciated.

All of you are awesome and I hope you keep doing what you're doing. You've helped thousands of people. Thank you!

There are also many others I haven't included in my personal list that provide educational content, so please if someone has helped you learn. Make sure they know you appreciate their efforts!

Additional thanks: MikeMirzayanov and the rest of the Codeforces team. None of this would exist without them and it goes without saying how much I appreciate what they've made and the effort they've put in. This platform remains completely free for everyone and is truly great, even with any flaws it may have.

Thank you all and thanks for reading!

Read more »

 
 
 
 
  • Vote: I like it
  • +183
  • Vote: I do not like it

By Lord_David, history, 2 months ago, In English

Hello everyone, I've spent a lot of time trying to solve this problem 1574C - Slay the Dragon, I've even read the editorial and tried implementing it myself, but every time it's too slow no matter what I try. So could someone please explain why this solution is too slow. Thanks in advance! 129796109

Read more »

 
 
 
 
  • Vote: I like it
  • +8
  • Vote: I do not like it

By Lord_David, history, 3 months ago, In English

Just a simple feature I want added. I want there to be the option to thank the person answering questions in contest after they answer one of mine. Just a simple thank you button. Every time I ask a question I want to thank the person who spent time to answer my question, but don't want to waste more of their time by asking another question just saying "Thank you for answering my question". Please add it if it's not too much work MikeMirzayanov or anyone else from the Codeforces team.

Thanks for reading!

Read more »

 
 
 
 
  • Vote: I like it
  • +142
  • Vote: I do not like it

By Lord_David, history, 4 months ago, In English

So I've got a question about problems that need prime numbers. How are you meant to approach them? More specifically, how do you approach problems that require you to calculate prime numbers and do something with them? Do you implement/copy paste something like the sieve of Eratosthenes every time or is there a better method? Thanks in advance.

Read more »

 
 
 
 
  • Vote: I like it
  • +7
  • Vote: I do not like it

By Lord_David, history, 4 months ago, In English

Download here Please follow the instructions. You don't need to download it to your PC.

Update: There are now two versions for black and white nutella colours. Install link

Hello everyone, so recently I've discovered a dark mode for Codeforces made by sigma_g. I liked his idea of making a dark mode, but in my opinion it didn't look very good. So I decided to fork his project and make my own version. In my opinion it looks a lot better and I hope you'll like it. I tried to make it look like the CSES dark mode with a few changes. Also I'm always open to criticism and feedback, also if anyone wants to contribute to this project feel free to message me or just submit a pull request if you've already made something. You can download and install it HERE the installation instructions are also there and it's super simple. Enjoy!

I would also like to sincerely thank sigma_g, I would not have made this without his original version.

Read more »

 
 
 
 
  • Vote: I like it
  • +52
  • Vote: I do not like it

By Lord_David, 5 months ago, In English

Right, so I'm not the best at making blogs but here's my attempt at proposing a coherent solution to cheating and cheating blogs.

  1. Add a report section: If someone suspects someone else of cheating they can submit the solutions of the people suspected of cheating. I then propose two options of further action: One of the people on the Codeforces team looks at those solutions and gives a final verdict. I think that might not be possible because they're probably busy people who'd rather spend time developing features for the site or making general improvement or helping with new rounds etc. The second option would be have the community decide. Have cases looked at anonymously by people over a certain rating and problems solved (to avoid high rated people with smurf accounts being able to decide the verdict.), when a case if being reviewed multiple people give their verdict on if the people are cheating and take action only in VERY overwhelming cheating verdicts to maximally limit false positives. Also if someone sees code being shared during the contest they can add it to the report section and a system can find the person that made that code and auto tag him as a cheater or "solution giver". Then if during the contest anyone submits the same code it can also auto flag them as cheating. (I also think this shouldn't apply to problems with a really simple solutions such as problems A since code there is often almost completely identical). If the Codeforces team implements this, I think it would help reduce cheating.

  2. Cheating blogs don't do anything: After every single contest there are multiple blogs talking about cheating for the next 2-3 days. They don't do anything to help. People exposed for cheating often keep on cheating and the only thing those blogs accomplish is annoy non-cheaters. The solution I proposed above would solve this problem and give people an official method of reporting cheaters. I also read this blog today and while the poster has his heart in the right place I don't think this would do much to help. Especially since it even has a Famous Cheaters section which goes to show how little blogs actually do to help with the underlying cheating problem. Another concern of mine in situations like this is false positives. In the comment section there were already arguments about whether or not someone was a cheater. For that reason blogs about cheating do more harm to the community than help.

  3. Cheating: This bit is for the people cheating. Cheating does nothing to help you. There are many reasons someone might want to cheat. You might want to show off to your friends, you might want to have a high rating to use it as a selling point at a job interview, you might think it'll help you get into university/collage if you have a high rating and add that to your application. But in the end it forms who you are, if you take the easy route and cheat you won't accomplish anything. If you show off to your friends with an unearned rating you aren't the best friend and I think your friends would agree if they were to find out about you cheating. If you need it for a job interview, think about what happens if you get the job, what happens when you face difficult problems at work and can't simply copy someones solution? If you've always taken the easy way and suddenly can't you won't last long at that job. The same goes for university/collage. Higher education is hard, much harder than competitive programming and the punishment for cheating there could ruin your life/plans if you get caught. Don't take the easy way, struggle though improvement like everyone else. You'll thank yourself for it in the end.

  4. Final thoughts: At the end of the day cheating will always exist for whatever reason someone thinks they have to cheat. The best thing you can do is focus on your own improvement. Rating means nothing, your abilities is what matters. You might have a bad contest and lose rating or get a lower rating due to mass cheating, but that doesn't change what you can and can't do. If you improve your rating will also improve regardless of what others do.

Thanks for reading!

Read more »

 
 
 
 
  • Vote: I like it
  • +52
  • Vote: I do not like it