Search found 6 matches

by vivid
Fri Aug 30, 2002 5:00 pm
Forum: Volume 1 (100-199)
Topic: 109 - SCUD Busters
Replies: 96
Views: 36960

But do i need to include power plant into the kindom?
by vivid
Sun Aug 18, 2002 8:49 pm
Forum: Volume 1 (100-199)
Topic: 109 - SCUD Busters
Replies: 96
Views: 36960

As i understand kingdom's wall surrounds power plant.
It seems to me you don't include in kingdom. (The square of the last poligon must be greater than yours).
by vivid
Fri Aug 02, 2002 6:29 pm
Forum: Volume 1 (100-199)
Topic: 109 - SCUD Busters
Replies: 96
Views: 36960

Are there any tricky inputs in 109 - SCUD Busters ?

WA again & again, but my programm passes all my tests
by vivid
Fri Aug 02, 2002 6:27 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116809

May be not
bin[0][1]+bin[0][2]+bin[1][0]+bin[1][1]+bin[2][0]+bin[2][2]

but
bin[0][1]+bin[0][2]+bin[1][0]+bin[1][2]+bin[2][0]+bin[2][1] ?
by vivid
Wed Jul 17, 2002 11:10 pm
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 65338

What does Lexicographically mean?
For example what is first in lexicographical order
1 1 1 3 4
or
1 10 9 8 7
??
Maybe it is your problem?
by vivid
Tue Jul 16, 2002 7:22 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50442

Algorithm solving was described some posts earlier. I've solved the task in the same way but i get WA. It passes all test i've found on this forum. What is wrong with it?
[cpp]
#include <iostream.h>
#include <string.h>

int d[31][10];
int map[30][30];

int N, M;

char less(int i, int j)
{
for (int ...

Go to advanced search