提交时间:2025-04-29 10:24:06
运行 ID: 64863
#include<bits/stdc++.h> using namespace std; int main(){ int x,y,z; for(int x=0;x<=100;x++) for(int y=0;y<=100;y++) for(int z=0;z<=100;z+=3) if(x+y+z==100 && x*5+y*3+z/3==100) printf("%d %d %d\n",x,y,z); return 0; }