Showing posts with label SRM 595. Show all posts
Showing posts with label SRM 595. Show all posts

Friday, 25 October 2013

Topcoder SRM 595 DIV2 250

Problem Statement


In short, You are given a string containing only characters R,G,B. We can remove the string from either end at each move( from left or from right). Finally, the string must contain only R or G or B.

You can find a detailed problem description here.