Opening book details…
Can I read Maximum Cigarettes Calculation Guide on EtoBox?
Maximum Cigarettes Calculation Guide by yassine is a document available to read on EtoBox.
What is Maximum Cigarettes Calculation Guide about?
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