Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
64863 | zhangweiran | 百钱百鸡 | C++ | 通过 | 1 MS | 248 KB | 293 | 2025-04-29 10:24:06 |
#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; }