Search found 2 matches

by zhuo
Mon Feb 06, 2006 7:06 am
Forum: Volume 6 (600-699)
Topic: 674 - Coin Change
Replies: 77
Views: 25510

AC

I got accepted . I done a stupid mistake.
Thanks a lot. :D
by zhuo
Sun Feb 05, 2006 5:56 pm
Forum: Volume 6 (600-699)
Topic: 674 - Coin Change
Replies: 77
Views: 25510

674: Coin Change WA

I've tried a lot of test data, but I still got WA. Why?? ~ help, please #include<stdio.h>/* 674 357 147*/ int main(){ int a[30001][4],t; int i,tol,n; for(i=0;i<5;i++){ a[i][0]=0; a[i][1]=0; a[i][2]=0; a[i][3]=0; } tol=4; while( scanf("%d",&n)!=EOF ){ if(n>tol){ for( ; tol<=n ;tol++){ if( tol>=50) a[...

Go to advanced search