Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Latest commit

Β 

History

History
22 lines (17 loc) Β· 671 Bytes

README.md

File metadata and controls

22 lines (17 loc) Β· 671 Bytes

Problems and Contests

My repository for URI Online Judge.

Usage

* Need the pwd command in your shell.

# using my container on the dockerhub (jonloureiro/problems-and-contests)
docker run --rm -v $(pwd):/node jonloureiro/problems-and-contests <folder-name>

# example
docker run --rm -v $(pwd):/node jonloureiro/problems-and-contests 1001

# building your image
docker build -t <image-name> .
  1. Create a folder <folder-name>
  2. Create an index.js inside the folder
  3. Create test files with the name ending in .txt
  4. Run the docker passing the <folder-name> how arg

Look at some folder as an example.