posting solutions of solved problems
-
amit.singh3396
- Posts: 2
- Joined: Sun Oct 18, 2020 6:24 pm
posting solutions of solved problems
Is it advisable to post solutions in the problem thread? And if yes, what are some good etiquettes to post a solution
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: posting solutions of solved problems
Only if you have something new to add that wasn't mentioned in the other posts. Or if you have a program in a language that isn't in the thread already.

War ruins the life and health of untold numbers of innocent children.
-
philiplu
- Posts: 92
- Joined: Wed Aug 02, 2017 8:51 pm
- Location: Redmond, WA, USA
Re: posting solutions of solved problems
I'd add to hk's comment with my own preferences: if you're going to post, please don't simply post the solution code without explanatory comments, however brief, except maybe if you're the first solution in a new language. When reading a post, I want to know what prompted your post without having to parse your code to figure that out.
Also, please, please, please, use the code tag to collapse your code, so people reading the forums can choose when to look at your code, and not have to scroll over it constantly.
Also, please, please, please, use the code tag to collapse your code, so people reading the forums can choose when to look at your code, and not have to scroll over it constantly.

-
amit.singh3396
- Posts: 2
- Joined: Sun Oct 18, 2020 6:24 pm
Re: posting solutions of solved problems
Thank you for your inputs. Posts without any explanatory comments is exactly what prompted me to ask this question.philiplu wrote: Sun Oct 18, 2020 10:54 pm I'd add to hk's comment with my own preferences: if you're going to post, please don't simply post the solution code without explanatory comments, however brief, except maybe if you're the first solution in a new language. When reading a post, I want to know what prompted your post without having to parse your code to figure that out.
Also, please, please, please, use the code tag to collapse your code, so people reading the forums can choose when to look at your code, and not have to scroll over it constantly.