├── .github └── workflows │ └── rust.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── examples ├── atc001_b.rs └── bench.rs └── src ├── binary_search.rs ├── bits.rs ├── collections.rs ├── display.rs ├── geo.rs ├── gf.rs ├── graph.rs ├── inf.rs ├── io.rs ├── iter.rs ├── ix.rs ├── kmp.rs ├── lib.rs ├── monoid.rs ├── number.rs ├── prelude.rs ├── prime.rs ├── range.rs ├── segment_tree.rs ├── slice ├── mod.rs └── partial_sum.rs └── union_find.rs /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/README.md -------------------------------------------------------------------------------- /examples/atc001_b.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/examples/atc001_b.rs -------------------------------------------------------------------------------- /examples/bench.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/examples/bench.rs -------------------------------------------------------------------------------- /src/binary_search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/binary_search.rs -------------------------------------------------------------------------------- /src/bits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/bits.rs -------------------------------------------------------------------------------- /src/collections.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/collections.rs -------------------------------------------------------------------------------- /src/display.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/display.rs -------------------------------------------------------------------------------- /src/geo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/geo.rs -------------------------------------------------------------------------------- /src/gf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/gf.rs -------------------------------------------------------------------------------- /src/graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/graph.rs -------------------------------------------------------------------------------- /src/inf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/inf.rs -------------------------------------------------------------------------------- /src/io.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/io.rs -------------------------------------------------------------------------------- /src/iter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/iter.rs -------------------------------------------------------------------------------- /src/ix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/ix.rs -------------------------------------------------------------------------------- /src/kmp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/kmp.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/monoid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/monoid.rs -------------------------------------------------------------------------------- /src/number.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/number.rs -------------------------------------------------------------------------------- /src/prelude.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/prelude.rs -------------------------------------------------------------------------------- /src/prime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/prime.rs -------------------------------------------------------------------------------- /src/range.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/range.rs -------------------------------------------------------------------------------- /src/segment_tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/segment_tree.rs -------------------------------------------------------------------------------- /src/slice/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod partial_sum; 2 | -------------------------------------------------------------------------------- /src/slice/partial_sum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/slice/partial_sum.rs -------------------------------------------------------------------------------- /src/union_find.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanakh/competitive-rs/HEAD/src/union_find.rs --------------------------------------------------------------------------------