← Back to topics
Topic

Boxes

g
gigac
I fail only on the 3 and 19 test case...
Here it is.. http://www.z-trening.com/new/www/html/submit.php?subm_stat=1&submit=7100045863

some help ?
h
halil
You tested 3 combination (rotation). I think it should be 6.
g
gigac
wow...witch are those 6 combination..
First I check if the first box can fit in the second. So if the values are D,S,V it becomes
S,V,D and one more time V,D,S. If it still can't fit. I check if the second can fit in the first with the same methods ?
h
halil
these are 6 combinations
S V D
S D V
V S D
V D S
D V S
D S V
m
matteo123
you must just sort numbers
h
halil
Yes, Matteo. And for both boxes.
g
gigac
So...I have to find all the combination for both the boxes and then check one by one with the rest of others ?

And can you give me some example :)
h
halil
First:
7 8 9
6 7 8
Second:
7 8 9
6 8 7