About this document
Maximum Cigarettes Calculation Guide by yassine is a document available to read on EtoBox.
The document describes a problem where Peter has n cigarettes and can roll new cigarettes from k cigarette butts. Given values of n and k in input, the output should be the maximum number of cigarettes Peter can have. A sample input and output are provided as an example.
- Author
- yassine
- Language
- EN