We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
In the first example, S=[19, 10, 12, 10, 24, 25, 22] is invalid right?
In the input format section. It's said that all of the given numbers are distinct. So the 10 value shouldn't appear more than once.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Non-Divisible Subset
You are viewing a single comment's thread. Return to all comments →
In the first example, S=[19, 10, 12, 10, 24, 25, 22] is invalid right? In the input format section. It's said that all of the given numbers are distinct. So the 10 value shouldn't appear more than once.