This repository contains my solutions to problems from the CSES Problem Set, implemented in Rust. I'm using this project as a learning exercise to improve my Rust and competitive programming skills.
.
βββ Cargo.toml
βββ Cargo.lock
βββ src
βββ lib.rs
βββ main.rs
βββ problems
βββ mod.rs
βββ mweird_algorithmod.rs
βββ etc
- All problems live in the
src/problems/
directory. mod.rs
is used to register each problem module.main.rs
is used to run the problems β edit it to call whichever solution you want to test.lib.rs
can be used for shared utilities or reused logic across problems.
Make sure Rust is installed. If not, install it from rust-lang.org.
Clone and run:
git clone https://github.com/your-username/cses-rust.git
cd cses
cargo run