You are viewing a single comment's thread. Return to all comments →
test case 9 10 10 BBBBBGGBGG GGGGGGGGGG GGGGGGGGGG BBBBBGGBGG BBBBBGGBGG GGGGGGGGGG BBBBBGGBGG GGGGGGGGGG BBBBBGGBGG GGGGGGGGGG
They give the result 85, It meant in the point 2,8, get area 5 and in the point 5,5 get area 17. So 5*17 = 85.
But, in point A 2,6, we get 9, in the point 5,8, we get 5, and in the point 7,5, we get 9. So, my result is 9*5*9 = 405.
index starts from 0.
If you said, the biggest area has the top priority, let's see the test case 5,
they gave the result 81, it means at 3,5 and 5,2, we can get 9 twice. so 9*9=81.
if biggest area has the top priority, the point should be 3,4, with area 13 only.
What's wrong? please help.
Seems like cookies are disabled on this browser, please enable them to open this website
Ema's Supercomputer
You are viewing a single comment's thread. Return to all comments →
test case 9 10 10 BBBBBGGBGG GGGGGGGGGG GGGGGGGGGG BBBBBGGBGG BBBBBGGBGG GGGGGGGGGG BBBBBGGBGG GGGGGGGGGG BBBBBGGBGG GGGGGGGGGG
They give the result 85, It meant in the point 2,8, get area 5 and in the point 5,5 get area 17. So 5*17 = 85.
But, in point A 2,6, we get 9, in the point 5,8, we get 5, and in the point 7,5, we get 9. So, my result is 9*5*9 = 405.
index starts from 0.
If you said, the biggest area has the top priority, let's see the test case 5,
they gave the result 81, it means at 3,5 and 5,2, we can get 9 twice. so 9*9=81.
if biggest area has the top priority, the point should be 3,4, with area 13 only.
What's wrong? please help.