dsalgo 0.3.10

A package for Datastructures and Algorithms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::io_buffered_read_wrapper::*;

pub fn locked_stdin_reader() -> ReadWrapper<std::io::StdinLock<'static>> {
    let stdin = Box::leak(Box::new(std::io::stdin()));

    ReadWrapper::new(stdin.lock())
}

#[cfg(test)]

mod tests {

    #[test]

    fn test() {}
}