You are viewing a single comment's thread. Return to all comments →
Can sum1 explain me how the sample out put answer is 1 for the input of 5. ?
condition of N is shd strt from 5 and input value itself 5 so only one value ie 5.
so how 5 value contains 2 prime factors ?
if(1 and 5) then all the provided example input was wrong isnt it ?
Thanks in advance
The output we've to give is no. of semiprimes less than 5.
Only semiprime less than 5 is 4. hence answer is 1.