## Search found 8 matches

Sun Sep 05, 2004 4:51 pm
Forum: Volume 104 (10400-10499)
Replies: 12
Views: 5721
Thanks for the lightning fast response, but then I've no clue what's wrong with my code... :( I'm just checking all possible distributions of the gifts and multiply up the respective probabilities: i think your max is the one not div num . if div it result will be different. My english is poor,hope...
Tue Sep 02, 2003 8:32 am
Forum: Volume 105 (10500-10599)
Topic: 10542 - Hyper-drive
Replies: 9
Views: 5348

### 10542 - Hyper-drive

I always got WA in this problem.can someone give me some more samples.thx.
Tue Aug 26, 2003 11:38 am
Forum: Volume 105 (10500-10599)
Topic: 10523 - Very Easy !!!
Replies: 63
Views: 23100

### 10523 now you can get AC

the judgement is ok, i got AC today.
Fri Aug 08, 2003 7:21 am
Forum: Volume 105 (10500-10599)
Topic: 10532 - Combination! Once Again
Replies: 15
Views: 4722

### i got AC,now

thank you!
i got AC now.
it is really strange,but i really don't then different between cin,cout and printf ,scanf
Fri Aug 01, 2003 7:23 pm
Forum: Volume 105 (10500-10599)
Topic: 10532 - Combination! Once Again
Replies: 15
Views: 4722

### still wa

i have tried long long.but still WA.
is there some more sample test case?
Thu Jul 31, 2003 3:12 pm
Forum: Volume 105 (10500-10599)
Topic: 10533 - Digit Primes
Replies: 108
Views: 32882
the first number and the second number can be change
like this:
999999 1
Thu Jul 31, 2003 2:59 pm
Forum: Volume 105 (10500-10599)
Topic: 10532 - Combination! Once Again
Replies: 15
Views: 4722

### WA!!!!!!!!!!!!

for this input my code can output the right answer,but i still got WA. this is my code [cpp]#include<iostream.h> long k=0,b[50]={0},a[50]; long res[60][60]; long f( long k, long r) { long re=0; long i; if(k==0) { if(r>a[k]) return 0; else return 1; } if(r==1) return k+1; for(i=0;i<=a[k];i++) { if(r-...
Thu Jul 31, 2003 2:47 pm
Forum: Volume 3 (300-399)
Topic: 375 - Inscribed Circles and Isosceles Triangles
Replies: 19
Views: 2925

### i know why you got P.E

try this output

[cpp]printf("%13.6lf\n",res);[/cpp]