TESTCASE # 2 fails,but when i openced the testcases and run my code with it the answer is right

please check why testcase 2 is failing.

testcase 2 : 50 true 290 true 23 false false false true 78 true 66 false false false
10 true 20 true 40 false false true 50 false false true 30 true 60 false false true 73 false true 88 false false

output of my code is false and correct answer is false

hi shakul
send ur code so that we can found the error

code : https://ide.codingblocks.com/s/144549

u r taking wrong input u also have to take string true false also u are not taking the string input
see in the test input number then string and so on…

i am doing the same thing,but i am still unable to understand ,can u please elaborate,exactly in which line i should make corrections?

can you please specify changes,thank you in advance.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.