The Fault in our Wheat Bags
CodeChefOpen on judge ↗
Marks: 30 A wheat supplier is there. Recently he got a big order of wheat to be supplied. There was a lot of wheat sent in different sizes of jute bags via truck to the buyer. Each bag had a different share of wheat as they were filling the bags in a hurry. And the accountant made all the calculations which bag contained how many kilos wheat in which bag. But later they found, that accountant has
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