You are viewing a single comment's thread. Return to all comments →
i made solution using python!
def pageCount(n, p): front = p // 2 back = (n - p) // 2 if n % 2 != 0 else (n - p + 1) // 2 return min(front, back)
Seems like cookies are disabled on this browser, please enable them to open this website
Drawing Book
You are viewing a single comment's thread. Return to all comments →
i made solution using python!