Search found 8 matches

by CC
Tue Nov 09, 2004 3:01 pm
Forum: Volume 100 (10000-10099)
Topic: 10089 - Repackaging
Replies: 41
Views: 19287

little joey wrote:Thanks Per for the hint. It's brilliant. Continueing in that line of thought, I even found an O(N) algorithm, so I finaly solved this problem (in a quite reasonable time).
can u explain it in more detail, I can't see it ?
by CC
Tue Oct 05, 2004 2:52 pm
Forum: Volume 100 (10000-10099)
Topic: 10085 - The most distant state
Replies: 10
Views: 5546

consider the symmetry effect
so there are only three status ( corner, mid-boundary and central)
input and output give two, the last is to be precalculated
by CC
Fri Sep 17, 2004 7:06 am
Forum: Volume 105 (10500-10599)
Topic: 10576 - Y2K Accounting Bug
Replies: 11
Views: 8653

can somebody tell me how to solve this problem by Greedy
by CC
Sat Sep 04, 2004 7:31 am
Forum: Volume 103 (10300-10399)
Topic: 10381 - The Rock
Replies: 8
Views: 4748

can somebody give me the results for the following test cases

10

20 40 ...
by CC
Thu Sep 02, 2004 2:38 pm
Forum: Volume 104 (10400-10499)
Topic: 10410 - Tree Reconstruction
Replies: 13
Views: 10656

though my programme give right answer to the these input
I still got WA, can somebody give more tests?
:cry:
by CC
Sun Aug 22, 2004 3:29 am
Forum: Volume 106 (10600-10699)
Topic: 10644 - Floor Tiles
Replies: 25
Views: 13505


Although I finally got it AC I still dont know how did anyone find out that a 5x9 rectangle was possible. (please dont tell me you have tried all possibilities :). Anyone can help me out here?


you need not try to find out all possiblitys
if you use backtrack algorithm and run it in your brain ...
by CC
Tue May 11, 2004 4:55 am
Forum: Volume 1 (100-199)
Topic: 143 - Orchard Trees
Replies: 90
Views: 27243

just a few minutes ago, I generate another testdata
and there are 1M testcases

I got another src which has been ACed
[cpp]
#include "stdio.h"
#include "math.h"

double area(double a, double b, double c, double d, double e, double f)
{
return fabs(a*f+c*b+e*d-c*f-e*b-a*d);
}

void main()
{
freopen ...
by CC
Mon May 10, 2004 8:24 am
Forum: Volume 1 (100-199)
Topic: 143 - Orchard Trees
Replies: 90
Views: 27243

143 Orchard Trees WA //PLEASE HELP ME

I got a programme of this prob. which has been ACed from other posts
and randomly generated 10000 testdata
then I got the output of the two programs(mine and that one)
there are only one difference between the two
but after I changed that program (change eps from 1e-9 to 1e-8 )
there are no ...

Go to advanced search