Pawel Kacprzak's submission of Longest non regular parentheses sub-sequence | CodeChef