#百钱

[华为oj]百钱百鸡问题

#include<iostream>usingnamespacestd;intvalue[3]={5,3,1};intweight[3]={1,1,3};intnum[3]={0,0,0};intBuyHen(intmoney,inti){if(i==2){if(money%value[i]==0){num...