The competitive-programming-rs library provides a collection of optimized snippets and algorithms designed for use in programming contests. The library is organized into several modules based on algorithmic categories:
graph: Graph theory algorithms.data_structure: Efficient data structures for competitive programming.math: Mathematical algorithms and number theory.geometry: Computational geometry algorithms.string: String processing and pattern matching algorithms.utils: Utilities for handling standard input/output (stdin/stdout) and testing.
// Example of how you might import modules from this library
use competitive_programming_rs::graph;
use competitive_programming_rs::data_structure;
use competitive_programming_rs::math;
use competitive_programming_rs::geometry;
use competitive_programming_rs::string;
use competitive_programming_rs::utils;