9 条题解

  • -2
    @ 2024-4-13 17:27:20
    #include<bits/stdc++.h>
    using namespace std; 
    int main() { 
    	int x,y,z,n;
    	for(x=0;x<=20;x++){
    		for(y=0;y<=33;y++){
    			for(z=0;z<=300;z++){
    				if(x+y+z == 100 && x*5+y*3+z/3 == 100 && z%3 == 0){
    					cout << x << " " << y << " " << z << endl;
    				}
    			}
    		}
    	}
    return 0; 
    }
    

    信息

    ID
    2090
    时间
    1000ms
    内存
    256MiB
    难度
    3
    标签
    递交数
    181
    已通过
    108
    上传者