https://github.com/secti6n/porus
https://github.com/secti6n/porus
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/secti6n/porus
- Owner: secti6n
- License: mit
- Created: 2018-07-15T06:02:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-11T14:09:03.000Z (almost 8 years ago)
- Last Synced: 2025-04-05T05:51:14.092Z (about 1 year ago)
- Language: Rust
- Size: 321 KB
- Stars: 0
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# porus
[](https://travis-ci.org/bhuztez/porus)
[](https://coveralls.io/github/bhuztez/porus?branch=master)
porus is Rust library designed for competitive programming, especially
for being used by solutions submitted to online judges. So that you
don't have to copy and paste library code into your solution.
## Requirements
* Rust nightly
* i686-pc-windows-gnu
* i686-unknown-linux-gnu
* x86_64-pc-windows-gnu
* x86_64-unknown-linux-gnu
* Python 3.5+
## Quick start
```console
$ git clone git://github.com/bhuztez/porus.git
$ cd porus
$ pip3 install -r requirements.txt
$ python3 -mix submit -w solutions/AOJ/ITP1/ITP1_1_A.rs
[SUBMIT] solutions/AOJ/ITP1/ITP1_1_A.rs
[COMPILE] target/x86_64-unknown-linux-gnu/release/libporus.rlib
AOJ (judge.u-aizu.ac.jp)
User ID: your_username
Password:
[SUBMIT] solutions/AOJ/ITP1/ITP1_1_A.rs: Accepted (Memory: 2000, Time: 0, Length: 1380)
$
```