https://github.com/michimani/atcoder
https://github.com/michimani/atcoder
cpp
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/michimani/atcoder
- Owner: michimani
- License: mit
- Created: 2023-10-02T15:51:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-25T15:18:05.000Z (11 months ago)
- Last Synced: 2025-08-25T17:30:05.884Z (11 months ago)
- Topics: cpp
- Language: C++
- Homepage: https://kenkoooo.com/atcoder/#/table/michimani
- Size: 687 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
atcoder
===
[](https://atcoder.jp/users/michimani)
Solutions for [AtCoder](https://atcoder.jp/) problems.
## Links
- [michimani - AtCoder](https://atcoder.jp/users/michimani)
- [michimani - AtCoder Problems](https://kenkoooo.com/atcoder/#/user/michimani)
## Using online judge tools
1. install online-judge-tools
```bash
pip install online-judge-tools
```
2. create `.vscode/tasks.json`
```json
{
"tasks": [
{
"type": "shell",
"label": "test_atcoder_sample",
"command": "${workspaceFolder}/onlinejudge/cpp-test.sh",
"args": [
"${relativeFileDirname}",
"${fileBasenameNoExtension}",
"${file}"
],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"type": "shell",
"label": "submit_to_atcoder",
"command": "${workspaceFolder}/onlinejudge/cpp-submit.sh",
"args": [
"${relativeFileDirname}",
"${fileBasenameNoExtension}",
"${file}"
],
"group": {
"kind": "build",
"isDefault": true
}
}
],
"version": "2.0.0"
}
```
## for C++ 23 (Clang 16.0.6)
To use the same environment as AtCoder's C++ 23 (Clang 16.0.6), please install LLVM 16.0.6 as follows. (ref: https://atcoder.jp/contests/APG4b/rules)
```bash
brew install llvm@16
```
And add the following to your `.zshrc`
```bash
export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH"
```
## Create new solutions
example: create solutions for A,B,C of ABC 123
```bash
new.sh abc 123 a,b,c
```
If you want to open the created files with your favorite editor, you can set the `EDITOR_COMMAND` environment variable. For example, using VSCode.
```bash
EDITOR_COMMAND=code new.sh abc 123 a,b,c
```
## License
[MIT](https://github.com/michimani/atcoder/blob/main/LICENSE)
## Author
[michimani210](https://twitter.com/michimani210)