Drawing Book

  • + 0 comments
    def pageCount(n, p):
        front = p // 2
        back = (n // 2) - (p // 2)
        return min(front, back)