WA in COMPILER

https://www.codechef.com/viewsolution/33359987

2 Likes

I think this test case should be present in question also. Many have problem regarding this

already tried

i am stuck in this question last 2 days
pls help me

I just did??

(the answer for that testcase should be 0).

1 Like

That is not valid. So, ans is 0

https://www.codechef.com/viewsolution/33361211

1 Like

ans 0

I know - it should be 2.

1 Like

thanks a lot

1 Like

@ssjgz my solution passes both, the given testcases as well as the ones you mentioned. I am stuck on this problem. Can you check whats wrong?
https://www.codechef.com/viewsolution/33398603

1
<<><

ans should be 0?

Yep :slight_smile:

1 Like