You are viewing a single comment's thread. Return to all comments →
your code doesnt work for this test case 5 125 125 125 25 5
the output should be 1 but your code prints 0
Seems like cookies are disabled on this browser, please enable them to open this website
Count Triplets
You are viewing a single comment's thread. Return to all comments →
your code doesnt work for this test case 5 125 125 125 25 5
the output should be 1 but your code prints 0