Run ID:43724
提交时间:2023-01-04 20:56:09
#include<bits/stdc++.h> using namespace std; int main() { for(int x=1; x<=100/5; x++) { for(int y=1; y<=100/3; y++) { for(int z=1; z<=100; z++) { if(15*x+9*y+z==100*3 and x+y+z==100) { cout<<x<<" "<<y<<" "<<z<<endl; } } } } return 0; }