提交时间:2024-12-14 18:43:33
运行 ID: 58713
#include<bits/stdc++.h> using namespace std; int main() { int x,y,z; for(x=1;x<=20;x++) for(y=1;y<=33;y++) for(z=1;z<=100;z++) if(x+y+z==100 && 5*x+3*y+z/3==100) cout<<x<<" "<<y<<" "<<z<<endl; return 0; }