main()
{
int men,women,children;a1,a2,a3,total人,total物;
scanf("%d%d%d%d";&a1&a2&a3&total);
for (men=1;menvoid main(){ int men,women,children,a1,a2,a3,totalren,totalwu; scanf("%d%d%d%d%d",&a1,&a2,&a3,&totalren,&totalwu); for (men=1;men<totalren/a1;men++) {for (women=1;women<totalren/a2;women++){ for (children=1;children<totalren/a3;children++) {
if
|