Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
101535 | 林泽豪 | 换零钱2 | C++ | 解答错误 | 60 | 0 MS | 252 KB | 294 | 2023-09-09 10:15:12 |
#include<iostream> #include<cstdio> using namespace std; int main(){ //freopen("statistics.in","r",stdin); //freopen("statistics.out","w",stdout); long int n,p=0; cin>>n; for(int i=1;i<n/10;i+=1){ for(int o=1;o<(n-i*10)/5;o++){ p++; } } cout<<p; }