Compiler and parsers

compiler
parsers

#1

Should the sequence always begin with “<”
Is the answer to the input ><> 0 or 2?


#2

I wish i could help you but its an ongoing contest. Just a small hint - Give stress on the word “Valid & Longest Prefix”. Combine both and you’ll solve it. :slight_smile:

Read the statement again, It is no where mentioned that expression will always begin with ‘<’


#3

Discussions for live contest’s questions is not allowed.

Moreover, for any clarifications comment in question’s page only. For your question : http://www.codechef.com/MAY14/problems/COMPILER

If your question would be genuine, you would get answer there.


#4

Discussing is not allowed in live contests!Please read the guidelines


#5

Answer is 0.


#6

<>>>>>><> o/p for this input 9/2


#7

sir how can we give string array of size 10^6 …plz help me


#8

what is the answer of this <<> ?


#9

@dileep2436, please look up tutorials of previous problems. There is a huge treasure out there. You will be able to find helpful hints.