#include <iostream>
using namespace std;
int main()
{
bool found=false;
for(int a=0;a<=9&&!found;a++)
for(int b=0;b<=12&&!found;b++)
if((4*a+3*b+(36-a-b)*0.5)==36)
{cout<<"men="<<a<<" "<<"wommen="<<b<<" "<<"children="<<36-a-b<<endl;found=true;}
return 0;
}
" target="_blank">[glow=255,red,2]wfpb的部落格[/glow] 学习成为生活的重要组成部分!