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

hello I have some questions...... [2] // Problem 1181. Cutting a Painted Polygon 14 May 2004 18:00
I got WA all the time.
here is one test :
10
BGBGRBBGRG
I think the answer is 0 .
But the AC solution said it's possible . I'm puzzle.
Who can tell me why ?
Ярославцев Григорий Re: I have some questions...... [1] // Problem 1181. Cutting a Painted Polygon 14 May 2004 21:10
Everything is possible! Just think better.
Tintor Marko Re: I have some questions...... // Problem 1181. Cutting a Painted Polygon 23 Jun 2005 01:44
Solution is 0.
There is edge with 2 blue vertices: BGBGR[BB]GRG