My written code giving me correct o/p as per given while testing but during checking test cases it get failed.
this is code. https://ide.codingblocks.com/s/575747
error - you failed one or more testcases. This means that your program didn’t account for all input cases (did you account for negative numbers, for example?).
Target sum triplet
You weren’t printing correctly, a space was missing after the first number. I corrected it https://ide.codingblocks.com/s/575801
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.