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
|
2095 Discussions
|
Please Login in order to post a comment
A drawing book is a creative space where artists of all ages express ideas through sketches, doodles, and designs. It encourages imagination, improves hand-eye coordination, and helps develop artistic skills. With the Accelerated App, users can now digitize their drawing book pages instantly, enhancing creativity by blending traditional drawing with modern technology, making it easier to share and store artwork.
C# return p <= n / 2 ? p / 2 : (n/2 -p/2);
C++ one liner:
int pageCount(int n, int p) { return std::min(p/2, ((n/2)-(p/2))); }
My humble python solution:
Typescript Solution: