We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Implementation
- Drawing Book
- Discussions
Drawing Book
Drawing Book
Sort by
recency
|
2119 Discussions
|
Please Login in order to post a comment
Mi solución en Python 3:
Fastest one liner:
Python 3 Solution:
"The last page may only be printed on the front, given the length of the book."
...no, it can be either side of the page, and even is so in the basic examples given
return min((p)//2,(n-p+p%2)//2)