Skip to main content

Baekjoon Online Judge CLI tools

Project description

BOJ(Baekjoon Online Judge) CLI tools

백준 & Solved.ac Command-line 도구

설치

pip3 install bojtools

사용법

초기화

boj init

로그인

boj login
...
Username: userid
Password: 
  • 자동 로그인에 자동으로 체크 됩니다.

문제 선택

boj pick <번호>
boj p <번호>
# 문제 상태 (AC/WA) 강제 갱신
boj p -f

랜덤 문제 선택

Solved.ac 에서 특정 난이도(Gold, Silver, ...) 문제를 랜덤으로 선택

boj random --silver
boj r -s
# Silver2 에서 Gold3 까지 1000명 이상 푼 문제만 list
boj r -s 1000 s2 g3

Answer 파일 생성

  • 설정된 기본 template에서 복사됩니다.
boj generate <번호>
boj g

테스트

boj test <번호> -i <파일>
boj test <번호>
boj t

문제 제출

boj submit <번호> -i <파일>
boj submit <번호>
boj s

문제 풀이 보기

  • 제출되어 통과(AC)한 문제여야 표시 됩니다.
boj solution <번호>
boj q

문제 정보

boj generate <번호>
boj g

환경설정

Linux

~/.boj/config.toml 파일 편집

샘플 config.toml 참조

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bojtools-0.6.4.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bojtools-0.6.4-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file bojtools-0.6.4.tar.gz.

File metadata

  • Download URL: bojtools-0.6.4.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bojtools-0.6.4.tar.gz
Algorithm Hash digest
SHA256 523b2db5a18cda85571d7f8e47c476022751b1d127e5dd95866b8d440423be6d
MD5 96cebc1c14690772825f1216724cb2eb
BLAKE2b-256 91883ba6d54b315c049e3fa6d84096eefabfb9e663fda9c40913a26835cf2bd2

See more details on using hashes here.

File details

Details for the file bojtools-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: bojtools-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bojtools-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 87ed98267090ac164b959f455fd96bf65bd7452d2f48834271467984296158b1
MD5 2b4395ca0f8c4c7c62716b97878d9fa2
BLAKE2b-256 f78b10b7895acb30930ca008e09fa938892f8a78b2761b5123f2f4d71f675a66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page