prob: https://hack.codingblocks.com/app/contests/2022/920/problem
logic is right but showing only the result of one test case
prob: https://hack.codingblocks.com/app/contests/2022/920/problem
logic is right but showing only the result of one test case
@raghav007 this is because you are printing your ouput only at the end.
but you have to print for every ouput then try to print your answer for every test case.
oh okay thanks a lot
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.