Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5919 D班-陈颖钧 换零钱-1 C++ 通过 100 1 MS 264 KB 259 2025-02-16 16:27:18

Tests(1/1):


#include<bits/stdc++.h> using namespace std; double n,a,b,c; int main(){ cin>>n; for(a=1;a<=19;a++){ for(c=1;c<=99;c++){ if(a*5+c+(100-a-c)/2==100){ b++; } } } cout<<b; return 0; }


测评信息: