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

Idea
Posted by Felix_Mate 21 Aug 2015 09:56
I got AC with O(N*N);

Idea: use mathematical induction and prove that solution exist always.
Induction gives a solution.
Re: Idea
Posted by wangbicheng1 2 Nov 2015 17:44
Good hint!
Furthermore, it can be proved that if it is not 'obviously impossible', then there will always be a solution.