Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
291700 陈思陶 【C3-8】桐桐的计算 C++ 通过 100 0 MS 248 KB 275 2024-08-20 15:52:09

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int t,s=0; for(int i=1;i<=11;i++){ for(int j=1;j<=50;j++){ t=100-9*i-j; if(t>0&&i*9+j+t==100&&i*2+j*2+t*4==100){ cout<<i<<" "<<j<<" "<<t<<endl; s++; } } } cout<<s; return 0; }


测评信息: