This repository contains a set of solutions to SPCC Kickstart problems.
The following procedures may require familiarity with the comamnd line. If you need a simpler way to download, please file an issue.
-
Install Git if it hasn't been installed.
-
Install nightly Rust using
rustup
from Rust's official installation page. -
Clone this repository:
git clone https://github.com/ivan-shrimp/spcc_kickstart.git
cd
into the spcc_kickstart
directory, then run:
cargo run --release --bin <insert lowercase problem number here>
For example, to use the solution for problem A1, run:
cargo run --release --bin a1
As all programs take input via standard input, you won't see any output with just the above. To actually get some output, either:
- type
SPCC
followed byCtrl+Z
, which givesHello SPCC!
; or - run
echo SPCC | cargo run --release --bin a1
, which also givesHello SPCC!
.
See ARCHITECTURE.md.
These solutions for SPCC Kickstart are distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.
The problems and official solutions for SPCC Kickstart are written by SPCC's Computer Club, and are distributed to their discretion.