ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1181. Cutting a Painted Polygon

Show all messages Hide all messages

My mail: bsc98001@yahoo.com
> My mail: bsc98001@yahoo.com

Try to eliminate all RGB consecutive but be aware to not "destroy" a
rare node (i.e. eliminate them in descending order)
What seems to be O(n^3) DP is AC as far as you remember to use "break"