Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
285395 | 陈思陶 | 【C3-8】桐桐的计算 | C++ | 解答错误 | 0 | 1 MS | 240 KB | 258 | 2024-07-25 19:25:39 |
#include<bits/stdc++.h> using namespace std; int main(){ int i,j,t,s=0; for(i=1;i<=11;i++){ for(j=1;j<=50;j++){ t=100-9*i-j; if(t>0&&i*9+j+t==100&&i*2+j*2+t*4==10){ cout<<i<<" "<<j<<" "<<t<<endl; s++; } } } return 0; }