cp-algorithms / cp-algorithms

Algorithm and data structure articles for https://cp-algorithms.com (based on http://e-maxx.ru)
https://cp-algorithms.com/
Creative Commons Attribution Share Alike 4.0 International
7.03k stars 1.5k forks source link

Hint or editorial to problems. #536

Closed nikhil-sarda closed 2 years ago

nikhil-sarda commented 4 years ago

For many problems mentioned, we have difficulty finding an editorial for the problem.I think this would be a good idea.

jakobkogler commented 4 years ago

Hmm. I've never had any trouble finding editorials for problems. E.g. on SPOJ, you have comments at the bottom and also you can find many solutions in random Github repos. For Codeforces/Codechef you usually have good editorials in the forums.

Nevertheless, sounds like a good idea. Maybe not full editorial, but some hints for problems might be nice. Obviously these should not be shown per default. It's possible to hide stuff already with the <span class="toggle-code">Show/Hide</span> tag.

However, I don't have time or motivation to go through the problems, solve them and write down hints. But if somebody else want to do it, I'm happy to merge such hints.

adamant-pwn commented 2 years ago

I think, Jakob mentioned all the important stuff on the topic above, we'd be happy to merge such stuff if anyone makes a PR. By the way, it is also possible now to construct hints with admonitions (see continued fractions article as an example).