You are viewing a single comment's thread. Return to all comments →
I @rounaknayee007.
You are correct but ... what the problem description doesn't state is that the input is always ordered.
In other words 5 125 125 125 25 5 is not a 'valid' input.
This problem needs to have it's description fixed.
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 →
I @rounaknayee007.
You are correct but ... what the problem description doesn't state is that the input is always ordered.
In other words 5 125 125 125 25 5 is not a 'valid' input.
This problem needs to have it's description fixed.