#Bookshelf

Codeforces Round #178 (Div. 2) B .Shaass and Bookshelf

Shaasshasnbooks.Hewantstomakeabookshelfforallhisbooks.Hewantsthebookshelf'sdimensionstobeassmallaspossible.Thethicknessofthei-thbookistianditspages'widthisequal...