| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2112 | 季洁 | 兑换硬币 | C++ | Wrong Answer | 0 | 15 MS | 244 KB | 324 | 2019-11-08 19:55:07 |
#include<iostream> using namespace std; int main(){ int c1,c2,c5,money,j,i,k,n,sum=0; cin>>money; money=money*100; for(int i=money/5;i>=0;i--){ j=money-i*5; for(int k=money/2;k>=0;k--){ j=money-k*2; for(int n=money;n>=0;n--){ j=money-n; sum=sum+1; } } } cout<<sum; return 0; }