- Directory grouped by solved.ac class
Create and execute solution files by ./run.py <class #> <problem #>
If ./class{class #}/{problem #}/{solution file}.py
is not found, a copy of ./template.py
is created.
- Open the folder in an editor with split view support.
- Open 3 panels: solution file,
./in.txt
, terminal with shell - Create solution file with
./run.py
- Write code in solution file
- Paste sample input in
./in.txt
- Execute solution with
./run.py
- Go back to #3 after completing a problem
-f / --file
: Set name of{solution file}.py
- default =
sol.py
- default =
-e / --editor
: Set command to execute when creating a new solution file- default = None
- Command is executed as
[arg value, path of solution file]
- Useful for automatically opening the created file in the editor