hey!
after submission of my code , the results showed that my code is not able to pass one test case , so i downloaded the test case and then checked the output, my output is correct but still it is showing wrong results
Please check into this, it is highly inconvinient
One testcase is not being passed
Hello @sanjana23
Please share the link to you code.
To get the link, save your code on ide.codingblocks.com and share the link from address bar.
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.
can u plz explain me what is the output of this test case and explain how it is coming.
my output is 2.
change INT8_MIN to INT_MIN and INT8_MAX to INT_MAX
Because INT8_MIN is -128 and INT8_MAX is 127 while the value of the nodes can be much greater than 127
Also include the library climits to your code
#include