How to actually use Rust for competitive programming
Difference between en2 and en3, changed 218 character(s)
"Rust isn't good for competitive programming" ↵

I kept hearing this so I made a tutorial to prove the haters wrong.↵

[Video](https://www.youtube.com/watch?v=6cYX5bnztn0) | [Repository](https://github.com/patrik-cihal/cp-rs)↵


![ ](https://i.postimg.cc/DwbrwFc3/thumbnail.jpg)



How to setup↵
------------↵
1. Clone the repo↵
2. `bash new-contest.sh`↵
3. Implement `a.rs`↵
4. `cargo r < input.txt`↵
5. `bash build.sh`↵
6. Submit `solution.rs`↵
7. Update `main.rs` to say `mod b`↵
8. Goto 3↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English 0npata 2026-01-21 18:23:13 218
en2 English 0npata 2026-01-21 17:52:47 55 Tiny change: 'hal/cp-rs)' -> 'hal/cp-rs)\n\n\n![ ](https://i.postimg.cc/DwbrwFc3/thumbnail.jpg)'
en1 English 0npata 2026-01-21 17:42:50 279 Initial revision (published)