Python environment for AtCoder practice.
1. Install mise
mise run setupmise run scEnter the contest name (e.g. abc123) when prompted. This will be saved to the contest file.
Edit main.py and run:
mise run pmise run svEnter the problem letter (e.g. a) when prompted. This will:
- Save to
_result/{contest}/{problem}/main.py - Commit automatically with git
- Reset
main.pyto the template
.
├── main.py # Working file
├── contest # Current contest name
├── .mise.toml # Dev tool config (mise)
├── .pre-commit-config.yaml # Pre-commit hooks
├── shell/
│ ├── setc.sh # Contest setup script
│ └── solve.sh # Save script
├── _template/ # Template files
└── _result/ # Saved answers
└── {contest}/
└── {problem}/
└── main.py