Utils
Utils
Setup
rustup update
cargo install cargo-compete
alias procon='cargo compete'
git clone https://github.com/fuyutarow/procon
cd procon
cd atcoder
procon n abc095
cd $_
procon d
procon t a
procon s a
cd codeforces
procon n 715
cd $_
procon o --bin a
procon t a
procon s a
cd yukicoder
procon n 305
cd $_
procon t a
https://judge.u-aizu.ac.jp/onlinejudge/
cd aoj/problems
procon a ITP1_7_B
procon o ITP1_7_B
procon t ITP1_7_B
Utils
Setup
cargo install cargo-snippet --features="binaries"
Set the snippets to vscode
cd snippets
cargo snippet -t vscode > $(wslpath "$(wslvar USERPROFILE)")/AppData/Roaming/Code/User/snippets/rust.json
cargo snippet -t vscode > $HOME/Library/Application Support/Code/User/snippets/rust.json