C++ Practice Problem – The Hundred Money Hundred Chickens Problem
Time Limit: 2s Memory Limit: 192MB Problem Description The famous “Hundred Money Hundred Chickens Problem” was proposed by the ancient Chinese mathematician Zhang Qiujian in his book “Mathematical Classics”: A rooster costs 5 coins, a hen costs 3 coins, and 3 chicks cost 1 coin. With 100 coins, how many roosters, hens, and chicks can … Read more