npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ya-oj-cli

v0.2.3

Published

yet another online judge cli

Downloads

6

Readme

Requirements

  • Node.js >= v14.1

Caution

  • [USACO] Use at your own risk:

Submission of code must be done via the interface on the usaco.org website (i.e., by selecting your file and clicking "submit solution"); attempts to submit via other means (e.g., scripts that attempt to automate this process) are NOT permitted. - http://www.usaco.org/index.php?page=instructions

Supported Sites

Supported Languages and Required Compilers

  • [x] TypeScript
    • esbuild
  • [x] Kotlin
    • kotlinc
  • [x] C++
    • g++
  • [ ] Python
  • [ ] Go
  • [ ] Java
  • [ ] Rust
  • [ ] Dart
  • [ ] Haskell
  • [ ] OCaml
  • [ ] Elixir

Usage

Install

$ npm i -g ya-oj-cli

Login to OJ

$ oj login --site=codeforces

Create Solution

$ oj new 1A --lang=cpp

Build Solution

$ oj build

Test Solution

$ oj test

Submit Solution

$ oj submit

Known Issues

USACO

  • Problems before 2020 requires file IO.

UVA

  • No auto extraction of sample test case yet.
  • Problem ID is in the page url, usually different from that on the page.

Alternatives

Guide Books

Chinese

  • 刘汝佳, 算法竞赛入门经典 (第2版)
    • UVa
  • 刘汝佳, 陈锋, 算法竞赛入门经典————训练指南
    • UVa
    • POJ
    • CodeForces
    • SPOJ
    • IPSC
    • LA
    • 牛客
  • 陈锋, 算法竞赛入门经典————习题解答
    • UVa
  • 陈锋, 算法竞赛入门经典————算法实现
    • UVa
    • POJ
    • HDU
    • SPOJ
    • CodeChef
    • 牛客
  • 李煜东, 算法竞赛进阶指南
    • CH
    • AcWing
    • POJ
    • CodeForces
    • HDU
  • 陈小玉, 算法训练营
    • HDU
    • POJ
    • UVa
    • 洛谷
    • SDUT
    • TOJ

English

  • Steven Halim, Felix Halim, Competitive Programming 4
    • UVa
    • Kattis
  • Antti Laaksonen, Guide to Competitive Programming
    • CSES
  • Johan Sannemo, Principles of Algorithmic Problem Solving
    • Kattis
  • Darren Yao, An Introduction to the USA Computing Olympiad
    • CSES
    • USACO
    • CodeForces

Japanese

  • 秋葉拓哉, 岩田陽一, 北川宜稔, プログラミングコンテストチャレンジブック [第2版]
    • POJ
    • GCJ
  • 渡部 有隆, Ozy, 秋葉 拓哉, プログラミングコンテスト攻略のためのアルゴリズムとデータ構造
    • AOJ
  • Ozy, Short Coding ~職人達の技法
    • POJ

French

  • M. Christoph Dürr, M. Jill-Jênn Vie, Programmation efficace
    • SPOJ
    • GCJ
    • UVa
    • Kattis
    • Timus
    • POJ
    • CodeChef
    • Codility
    • Prologin

Websites

  • https://usaco.guide/
    • CodeForces
    • USACO
  • https://www.vplanetcoding.com
    • CodeForces