-
Use naming format
<judge> <problem id> - <problem name> <version>
. For example -UVa 202 - Repeating Decimals v2.cpp
Here include
<version>
only for >1, i. e. mentioning v1 is not necessary. -
Put code for exercise problems in the
Exercises
folder of the chapter. -
For alternate solutions, put the solving technique in a comment at the top of the file. Like this:
/** * Problem: Timus 1005 - Stone Pile * Approach: bitmask with memorization **/
In file name, put v1, v2 etc.
-
See the existing files for more formatting guideline.