Getting WA in TRUEDARE

Why am i getting WA for this solution? Am i missing any test case? Help plzzz. https://www.codechef.com/viewsolution/21678604

Each result for any particular truth or dare is overwritten by the next one. So you only register a win for Shyam if it’s the last given truth or dare that Ram cannot do.

//