View Single Post
  #2  
Old June 4th, 2009, 08:46 AM
aidan aidan is offline
Super Member
 
Join Date: Jan 2009
Posts: 592
Country:
Thanks: 69
Thanked 133 Times in 123 Posts
aidan will become famous soon enoughaidan will become famous soon enough
Default

Quote:
Originally Posted by Victor View Post
What does IP mean?


DBA
DEG
ADI
FFD

1ST LETTER SUM: 4+4+1+6 = 15
2ND LETTER SUM: 2+5+4+6 = 17
does not met constraint that sum is at least as large
--------------------------------------------------

DEG
ADI
FFD
FDF

1ST LETTER SUM: 4+1+6+6 = 17
2ND LETTER SUM: 5+4+6+4 = 19
does not met constraint that sum is at least as large
---------------------------------------------------

DBA
FFD
FDF
BAI

1ST LETTER SUM: 4+6+6+2 = 18
2ND LETTER SUM: 2+6+6+1 = 15
This combination is acceptable.
---------------------------------------------------


Do not know what IP means or how implemented.
However, a way to solve:
Get ALL combinations of the 8 words taken 4 at a time
& calculate the sum of the 1st letters & 2nd letters:
if the constraint is not met, discard that set.

Of the sets remaining
determine the sum of the 3rd letter and choose the maximum
value.
Reply With Quote