Search found 33 matches

by chuzpa
Sun Jul 29, 2007 3:54 pm
Forum: Volume 112 (11200-11299)
Topic: 11206 - Coloring the map, but not anyhow
Replies: 7
Views: 3025

I/O's

Could anyone post some inputs and outputs for this problem ?
By the way my program gives

6760

as output for the input above.
Thanks ...
by chuzpa
Thu Feb 01, 2007 2:54 pm
Forum: Volume 6 (600-699)
Topic: 662 - Fast Food
Replies: 22
Views: 10227

Some cases ...

INPUT : 6 3 5 6 12 19 20 27 1 1 1 2 1 0 10000 4 3 1 2 3 4 3 3 1 2 3 5 2 1 2 3 4 5 5 2 -5 -4 -3 -2 -1 5 1 1 2 3 4 5 0 0 OUTPUT : Chain 1 Depot 1 at restaurant 2 serves restaurants 1 to 3 Depot 2 at restaurant 4 serves restaurants 5 to 6 Depot 3 at restaurant 6 serves restaurant 6 Total distance sum =...
by chuzpa
Tue Jan 09, 2007 7:18 am
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 29530

Some cases for Fibonacci Freeze ( 495 )

Some I/Os generated with my Accepted code: INPUT: 4383 886 2777 1915 2793 3335 386 492 1649 1421 2362 27 3690 59 2763 3926 540 3426 4172 736 211 368 2567 1429 782 1530 2862 123 4067 3135 3929 4802 4022 3058 3069 3167 1393 3456 11 3042 1229 2373 4421 4919 3784 3537 198 4324 3315 4370 1413 3526 1091 3...
by chuzpa
Sat Dec 30, 2006 1:50 pm
Forum: Volume 105 (10500-10599)
Topic: 10559 - Blocks
Replies: 37
Views: 12047

More I/O's

I've tried this problem but I've got WA, if someone please could post more inputs / outputs for this problem it would be great ... I've tried the followings ... INPUT : 12 165 1 2 3 2 1 1 5 1 1 1 1 10 1 4 4 41 4 4 1 43 4 4 4 41 4 4 42 4 4 1 13 1 1 1 2 3 2 1 11 1 1 1 1 1 19 1 4 4 41 4 4 1 4 34 4 4 24...
by chuzpa
Tue Dec 19, 2006 12:57 pm
Forum: Volume 100 (10000-10099)
Topic: 10069 - Distinct Subsequences
Replies: 26
Views: 11380

sorry

I'm not pretty sure I did this problem about 1 year and 6 months ago, if I can help you with i/o's or something please tell me.
by chuzpa
Tue Dec 19, 2006 12:44 pm
Forum: Volume 105 (10500-10599)
Topic: 10581 - Partitioning for fun and profit
Replies: 15
Views: 8368

thanks!

They did help, thanks a lot ! I've got Acc. I was misunderstanding the problem.
by chuzpa
Fri Jun 23, 2006 10:55 am
Forum: Volume 102 (10200-10299)
Topic: 10231 - Matrix World
Replies: 8
Views: 2447

I've got accepted, thanks for your help :P:D
by chuzpa
Fri Jun 23, 2006 10:54 am
Forum: Volume 102 (10200-10299)
Topic: 10261 - Ferry Loading
Replies: 41
Views: 19207

I've got Accepted a few days ago ... :P, anyways the I/Os I posted are correct, I hope they help someone...
by chuzpa
Wed Jun 21, 2006 9:39 am
Forum: Volume 102 (10200-10299)
Topic: 10231 - Matrix World
Replies: 8
Views: 2447

hi there again, I've been testing my program ... but still no clue of what is wrong, These are some of the inputs/ outputs I've got ... INPUTS 5 5 O.... ....* *...* *..** *.*** 5 5 O.... *.*.. *.... *..** *.**X 1 5 O***X 1 1 O 1 1 * 1 1 # 1 1 X 2 1 X O 2 1 X * 2 1 X X 2 1 * * 3 1 X O * 4 1 X O * * 4...
by chuzpa
Wed Jun 21, 2006 12:12 am
Forum: Volume 102 (10200-10299)
Topic: 10231 - Matrix World
Replies: 8
Views: 2447

hi there!

I've passed your I/Os but I think the last input is invalid because it has more characters than the actually especified. Does this especial case in the judge exist ?

Now I'm doing the problem like a DP TSP...

I don't know what is wrong hehehe, do you know more special cases ?
thanks...
by chuzpa
Wed Jun 14, 2006 2:58 pm
Forum: Volume 102 (10200-10299)
Topic: 10261 - Ferry Loading
Replies: 41
Views: 19207

Please some inputs ...

hi if someone could help me with MORE I/O, i'll apreciate it ... I have some I/O I think they're right ... INPUTS ... 15 20 101 207 155 143 512 335 108 977 567 201 188 311 112 0 6 200 200 400 400 0 1 200 100 0 1 100 200 0 1 100 100 0 1 10 20 30 40 50 0 50 2500 3000 1000 1000 1500 700 800 0 1 10 20 3...
by chuzpa
Fri May 19, 2006 11:22 am
Forum: Volume 8 (800-899)
Topic: 837 - Light and Transparencies
Replies: 25
Views: 13909

I've found my mistake, and got Accepted :D ...
by chuzpa
Thu May 18, 2006 1:21 pm
Forum: Volume 8 (800-899)
Topic: 837 - Light and Transparencies
Replies: 25
Views: 13909

hmmm

hi there could anyone tell me wich is the output for : 5 1 1 3 1 0.2 2 2 4 2 0 3 3 6 3 0.7 5 4 6 4 0.6 7 5 8 5 0.1 is ... 10 -inf 1.000 1.000 1.000 2.000 0.200 2.000 3.000 0.000 3.000 3.000 0.000 3.000 4.000 0.000 4.000 5.000 0.700 5.000 6.000 0.420 6.000 7.000 1.000 7.000 8.000 0.100 8.000 +inf 1.0...
by chuzpa
Sat Sep 17, 2005 9:52 am
Forum: Volume 102 (10200-10299)
Topic: 10231 - Matrix World
Replies: 8
Views: 2447

10231 Matrix World, WA

I think it is a tsp problem, am I wrong ? I just measured the distance between the initial point, and the treasures's points, and the from each point to each other point ... then I just did a backtracking to know how many treasures can I reach before any machine could reach it. If a machine can reac...
by chuzpa
Thu Sep 08, 2005 9:08 am
Forum: Volume 103 (10300-10399)
Topic: 10300 - Ecological Premium
Replies: 22
Views: 7861

avoid ...

Code: Select all

 if ( i ) 
       printf( "\n" ); 
 
And just write ..

Code: Select all

 printf("%lld\n",sum);

Go to advanced search