2.7's blog

By 2.7, history, 7 months ago, In English

Hi all,

Using some code, I made a compilation of some past problems along with the solution to the problems. Here is a link to the resulting book.

The inspiration for this book came from chess puzzle books. There are a few versions of this: one with just the links to the problems, one with the problem statements (but no solutions), and one that also includes solutions. Much of the motivation in using code from jiangly submission is the brevity and cleanliness of the code, though being a member of the fanclub certainly contributed.

The book is currently on version 1. Some features it's missing include: 1. Written commentary about the concepts, meta points about practice, and other tips. 2. Comment on the code submissions.

How should you use this book: I would choose a topic near your color and start solving problems, probably spending <1h per problem. If you have trouble understanding a submission, the editorial probably helps, and a tool like GPT might too. You can also try to break a problem down into two parts, coming up with the idea & implementation, and practice them separately.

It will probably be a while before I remember the concepts well enough to add comments / guides about them, since I haven't played much cf for 2 years. I may not work on this more. If you are interested in contributing some writings for it, let me know.

The problems are written by Codeforces writers, and all submissions are from jiangly. I believe this follows the Codeforces copyright rules, but if there are any concerns please lmk.

Happy problem solving!

2.7

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

»
6 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by 2.7 (previous revision, new revision, compare).

»
6 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by 2.7 (previous revision, new revision, compare).

»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Thank you so much, brother. I appreciate your contribution. Do you have any materials or resources that provide tips and tricks for programming? For example, in situations where an average programmer might write 100 lines of code, programmers like Jiangly manage to complete it in just 20 lines. Additionally, do you have any resources focused on logic building for beginners?

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    Even if there was, you'd forget them if it was only presented as a list of tricks. The best way is to make problems memorable by trying to solve them first and discovering the tricks in others' solutions after you've tried it for a while.

  • »
    »
    4 weeks ago, # ^ |
    Rev. 3   Vote: I like it +3 Vote: I do not like it

    You can also try to force yourself to write shorter code, This has helped me a lot. Just give 1-2 minutes to think about how you are going to skillfully implement something. and then compare how others did it better, my choice of people are tourist and jiangly. this is more helpful because you will discover tricks yourself.

»
4 weeks ago, # |
  Vote: I like it +21 Vote: I do not like it

Quoting from the introduction of your book,

Benq and Um_nik use a large template, and tourist also fall in that category.

does tourist use template frequently too? In most of his recent submissions he seems to be using them only when needed. Or maybe I have been very lucky to find only the clean codes of his lol.