Skip to content

rotarymars/environment-for-Atcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

日本語のreadmeもあります

日本語のreadmeを参照

What is this repository?

This repository is for making a envorinment to do Atcoder for windows users (mainly for C++).

What to do

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

How to use this environment

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.

Other features

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

About

How to make a exquisite environment to do Atcoder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published