日本語の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 | iexAdd extra's bucket
scoop bucket add extrasInstall mingw
scoop install mingwInstall git
scoop install gitInstall python
scoop install pythonInstall vscode
scoop install vscodeRun the code below to get the online-judge-tools
pip3 install git+https://github.com/online-judge-tools/oj.gitor do
python -m pip install git+https://github.com/online-judge-tools/oj.gitLogin 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_NAMEMove to the directory you made
cd YOUR_DIRECTORY_NAMENow, clone this repository and just clear everything except src directory, and oj_helper.py
git clone https://github.com/rotarymars/environment-for-Atcoder.gitFirst, 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
makeor
make allIt will submit your code(main.cpp) if the samples are all correct.
download test case(s)
make testcompile with definition of _DEBUG and test
make debugtestdownload and submit from the designated url
In oj_settings.json, put the url.
If you want to submit your code, run
make submit