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.5.tar.gz (16.2 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.5-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bojtools-0.6.5.tar.gz
  • Upload date:
  • Size: 16.2 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.5.tar.gz
Algorithm Hash digest
SHA256 091631c77a1b765951eed5860a3360b7e3dddd014985d0b3c93104aa5fae26a0
MD5 dc60e110142305ac5982a34458830938
BLAKE2b-256 97476dd0625866b36861da276fee04959c6f2b003cec5443e5b42aca64f79efd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bojtools-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 21.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 128fb88469081a48f9a90be666e44ac2fb2fcc3842987fda8be5de2614b7f44d
MD5 6f2267ea0b9fefc8562e36260de8016b
BLAKE2b-256 d297d008283438c5d954f4e3f0d082361465ff3f87e3ec09d454e651f000671a

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