Books For War Victims

Limits: 1s, 512 MB

Little Prohor is a war victim. She lives in HellOnEarth.

She loves reading book. Her situation can’t stop her from gaining knowledge. Besides, she also inspires her friends and they too started to love reading books.

This is a companion discussion topic for the original entry at

Oh hell man! 3 children can read a book. then we can simply say the solution is n/3 then why I am getting WA?

Think it realistically. If you have some friends and 3 can share a book how many books would you need.

Yes you are right. But please delete your comment. Cause it has every clue that one would need to solve this problem.

Anyways. I will recommend you to learn about floor and ceiling. They are typically floor() and ceil() methods in most programming languages. See this.