Search found 24 matches

by viniciusweb
Mon Nov 03, 2008 3:50 am
Forum: Volume 109 (10900-10999)
Topic: 10975 - Dueue's Quiz
Replies: 39
Views: 16500

Re: 10975 - Dueue's Quiz

WA here... What's the correct output for this case: http://paste-it.net/raw/public/n9a7fba/
(i'm linking it because it's too big to post)

Thanks.
by viniciusweb
Thu Oct 02, 2008 5:21 am
Forum: Volume 2 (200-299)
Topic: 200 - Rare Order
Replies: 25
Views: 12752

Re: 200 - Rare Order - WA

What's the correct output for the case below? AZ B # Here we are sure that A comes before B, but we can't say anything about Z. The problem description does not explain this case. EDIT: just read the problem description again and I it seems that there'll be no case like the one above: "Not all lette...
by viniciusweb
Fri Sep 12, 2008 9:14 pm
Forum: Volume 101 (10100-10199)
Topic: 10147 - Highways
Replies: 67
Views: 20539

Re: 10147 - Highways

I got AC! My output for the case I posted is (please note that the order of the towns may differ depending on your solution): 1 198 198 46 46 125 125 737 737 210 210 368 368 270 270 82 82 363 363 158 158 734 363 300 1 482 482 225 225 564 225 30 90 600 57 740 45 641 641 481 90 510 233 628 510 132 132...
by viniciusweb
Fri Sep 12, 2008 6:47 pm
Forum: Volume 101 (10100-10199)
Topic: 10147 - Highways
Replies: 67
Views: 20539

Re: 10147 - Highways

What's the correct output for the case below? Thanks. 1 750 1206 7540 9103 5569 1913 7223 6433 3469 5634 3987 2787 5820 421 498 6362 2928 1839 7243 7615 1035 3816 2136 1837 1591 8546 6903 9463 2935 9251 48 4042 9314 4275 3237 5367 747 2287 6786 8712 2812 4332 2766 4095 5764 5602 1146 8144 3052 6055 ...
by viniciusweb
Mon Aug 18, 2008 12:05 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22712

Re: 10465 - Homer Simpson

What's the correct output for the following cases? Thanks.

Code: Select all

17 18 99
435 159 4568
1 1 1
10 87 555
34 657 189
999 99 6544
10 100 1000
1000 10 1
54 65 98
6 4 21
3 7 1000
103 103 465
485 173 6548
6465 555 1551
34 7878 8484
321 456 9877
by viniciusweb
Fri Aug 08, 2008 6:13 pm
Forum: Volume 7 (700-799)
Topic: 714 - Copying Books
Replies: 29
Views: 19565

Re: 714 - Copying Books

coze, my AC code produces the same output.
by viniciusweb
Wed Aug 22, 2007 9:02 pm
Forum: Volume 7 (700-799)
Topic: 714 - Copying Books
Replies: 29
Views: 19565

Thanks Jan! I got AC after fixing some problems with overflow...
by viniciusweb
Tue Aug 21, 2007 6:47 pm
Forum: Volume 7 (700-799)
Topic: 714 - Copying Books
Replies: 29
Views: 19565

Output for this input

I'm getting WA too... Can someone who got AC post the correct output for the input below? thanks! 5 9 3 9 8 1 7 6 2 3 4 5 3 2 1 2 1 8 4 10 2 10 2 15 20 1 30 30 8 46 18 71 6 35 59 35 52 83 62 85 71 72 88 46 100 8 5 89 85 61 80 59 43 39 51 31 100 90 40 500 120 198429 225879 591107 583645 268500 151557...
by viniciusweb
Fri Jul 27, 2007 4:39 am
Forum: Volume 108 (10800-10899)
Topic: 10822 - Planet of the Rock, Paper and Scissors
Replies: 10
Views: 6627

I need more test cases and the answers for these: 6 4 2 (1>2)(3>4) 2 2 (1>2) (2>1) 3 3 (1>2)(2>3) (3>1) 4 4 (1>2)(2>3)(3>4)(4>1) 6 5 (1>2)(2>3) (4>5)(5>6)(4>6) 6 7 (1>2)(2>3)(4>5)(4>2)(1>6)(6>3)(5>3) My output: Community 1: Not Enough Data Community 2: Conflicting Records Community 3: Observation Co...
by viniciusweb
Thu Jul 26, 2007 9:59 pm
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 36130

I got AC adding an extra "\n" at the end of output and removing the extra space at the end of each line describing the path.
by viniciusweb
Thu Jul 26, 2007 6:52 am
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 36130

After a long time getting WA, I finally evolved to PE :). I'm printing the output exactly as described: one line with the path (integers separated by a single space) and one line with the minimum weight. I already tried adding / removing the extra spaces at the end of each path line and the extra ne...
by viniciusweb
Mon Jul 23, 2007 5:36 am
Forum: Volume 107 (10700-10799)
Topic: 10720 - Graph Construction
Replies: 49
Views: 30700

Solution to this case

Can someone show me a graph for the case below?

10 3 3 3 3 3 3 3 3 3 3
(the first number is the number of vertices)

I'm trying to solve using my own method, but I can't see why the above case is possible (it was posted on the first page of this topic).

Thanks.
by viniciusweb
Sat Jun 23, 2007 7:14 pm
Forum: Volume 103 (10300-10399)
Topic: 10321 - Polygon Intersection
Replies: 17
Views: 7259

Is the output posted above correct? should i count only the points where 2 lines intercept each other or also when a vertex is inside another polygon?
by viniciusweb
Fri Jun 22, 2007 8:55 pm
Forum: Volume 8 (800-899)
Topic: 866 - Intersecting Line Segments
Replies: 9
Views: 5649

helloneo wrote:My AC code gives..

Code: Select all

22\n
\n
4\n
\n
16\n
hmm, my code outputs 23 and i drew the segments on paper and counted 23 too...
by viniciusweb
Fri Jun 22, 2007 6:49 pm
Forum: Volume 8 (800-899)
Topic: 866 - Intersecting Line Segments
Replies: 9
Views: 5649

Test case

I'm getting presentation error (!). I'm printing "\n\n" after each number in the output (and already tried print just one "\n" and not printing after the last case). Can someone post the correct output for the following test cases? Thanks. 3 7 -1 -1 5 5 3 -2 3 9 4 -1 4 8 1 7 5 1 -1 6 9 8 7 3 9 4 9 1...

Go to advanced search