日本語のreadmeを参照
This repository is for making a envorinment to do Atcoder for windows users (mainly for C++).
Run the command below in powershell to install scoop.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
iwr -useb get.scoop.sh | iex
Add extra's bucket
scoop bucket add extras
Install mingw
scoop install mingw
Install git
scoop install git
Install python
scoop install python
Install vscode
scoop install vscode
Run the code below to get the online-judge-tools
pip3 install git+https://github.com/online-judge-tools/oj.git
or do
python -m pip install git+https://github.com/online-judge-tools/oj.git
Login to the installed package by entering your username and passowrd for Atcoder in the prompt
oj l https://atcoder.jp/contests/agc001_a
Make a directory where you want to keep your codes in by
mkdir YOUR_DIRECTORY_NAME
Move to the directory you made
cd YOUR_DIRECTORY_NAME
Now, clone this repository and just clear everything except src directory, and oj_helper.py
git clone https://github.com/rotarymars/environment-for-Atcoder.git
First, make folders for each problem like the command below
cp -r src abc100_a
cd abc100_a
code .
Edit your main.cpp, and then, do
make
or
make all
It will submit your code(main.cpp) if the samples are all correct.
download test case(s)
make test
compile with definition of _DEBUG and test
make debugtest
download and submit from the designated url
In oj_settings.json, put the url.
If you want to submit your code, run
make submit