Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82652 sh25_shenpy 【基础题】换钞票 C++ 解答错误 0 MS 240 KB 246 2026-01-16 19:00:07

Tests(0/1):


#include <iostream> using namespace std; const int s=100; int main() { int g=0; for(int x=1;x<=s;++x){ for(int y=1;y<=s-x;y+=2){ if((100-x-y)>0&&(s-x-y)%5==0) ++g; } } cout<<g; return 0; }


测评信息: