Drawing Book

  • + 0 comments

    My rust solution:

    fn pageCount(n: i32, p: i32) -> i32 {
        (n/2 - p/2).min(p/2)
    }