all of my testcases got cleared on coding blocks ide, but it is always giving an output of YES on Dev C++. Can you please check what’s the problem. Here’s my code.
Code running on ide but not on my own compiler
@Akshita99 hey ,apka code and logic sahi hai and its working fine ,apna input dekho ki woh sahi hai ki nhi.
maine testcase yahi se download krke dekhe the…even tried running the code on an online compiler, vaha bhi wrong answer aa rha h. Is it possible ki different compiler pe different answer aaye?
@Akshita99 nhi aisa to nhi hona chyy ,ap ek bar coding blocks ide ,ideone ide dono pr chla kr dekh lo ,nhi to code bhejdo mein dekh lunga.
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.