[LOJ # 3121 "CTS2019 | CTSC2019." Nowhere to place

For the first time have the patience to study a question ...... answer
before seen answer questions either throw or play out on the water can simply hand

12 can play out the hand, happy!

4 found 33 comparison road grid, took 33 are equipped with, in addition to the side with a 4-44 are so stuffed into them, and then the side with two feature two 2-up, then sprinkle a fill these Man, like the last throw 44

The remaining can play Tetris techniques, a position pos enumeration, if the length of the base is r, find [pos, pos + r - 1 ] is a maximum in the minimum of this interval, the same if a selected minimum pos , is in accordance with a variety of strange sort of method, random disturbance ......
basically this routine, the test point 2 of the non-answer by shrinking the width of the range to find a good strong random intervals, for 9 and 10 results were better, 8 but the effect is not very good, the best solution may be a function of multiple peaks
due 3 is too small, this routine out of it

I wrote about a score of
10 + 10 + 10 + 10 + 6 + 6 + 6 + 9 + 8 + 9 = 84

Guess you like

Origin www.cnblogs.com/ivorysi/p/10926747.html