Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
286078 冯琦浩 【C3-8】桐桐的计算 C++ 通过 100 1 MS 240 KB 287 2024-07-28 21:33:20

Tests(1/1):


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


测评信息: