提交时间:2024-07-26 12:40:08

运行 ID: 285695

int t=0; for(int i=0;i<=100/9;i++){ for(int j=0;j<=100;j++){ for(int k=0;k<=100;k++){ if(i*9+j+k==100&&i*2+j*2+k*4==100){ t++; cout<<i<<" "<<j<<" "<<k<<endl; } } } } cout<<t;