Helping Machine
CodeChefOpen on judge ↗
A machine recycles scrap bottles, the size of the bottle is categorised into types. For $n$ number of bottles you have to calculate the number of bottles in each category type. Size to category table:- BOTTLE SIZE: | 1,2 - TYPE 1 | 3,4 - TYPE 2 | 5,6 - TYPE 3 ###Input: - The first line of the input contains a single in
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start