摘要:
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=503#include <iostream>#include <cstdio>#include <cstring>using namespace std;const int N=30000;const int M=105;bool ex[N];int coin[M];int main(){ int n,m,total; cin>>n; 阅读全文
posted @ 2012-03-19 15:04
wuzhibin
阅读(166)
评论(0)
推荐(0)
摘要:
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=615#include <iostream>#include <cstdio>using namespace std;const int N=8000;long long num[N];int coin[6]={0,1,5,10,25,50};int main(){ int n; for(int i=1;i<=7500;i++) num[i]=0; nu 阅读全文
posted @ 2012-03-19 13:50
wuzhibin
阅读(313)
评论(1)
推荐(0)

浙公网安备 33010602011771号