jjj

大帅哥  •  6天前


include<bits/stdc++.h>

using namespace std; int main(){ int x,y,z;

for(int x=0;x<20;x++){
    for(int y=0;x<33;y++){
        z==100-x-y;
        if(x*5+y*3+z/3==100){
		 cout<<x<<" "<<y<<" "<<z;
		}
	}
}		
return 0;

}


评论:

请先登录,才能进行评论