You are viewing a single comment's thread. Return to all comments →
why 23 in between 21 and 25 is not lucky number,
as we are getting digit sum 5, and sum of square of digits are 13.
i think the same like you, can't understand anyone who get max score in this task
going by problem description looks like 23 should be lucky number, either description of problem is wrong or test case.
I agree .. the test cases are wrong ... 23 is a lucky number!
Yes, it's been 3 month, why is nobody fixing this?
Thank you for pointing this out. It has been corrected.
Man, I think that in fact there are no unlucky numbers and this is all rave.
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Lucky Numbers
You are viewing a single comment's thread. Return to all comments →
why 23 in between 21 and 25 is not lucky number,
as we are getting digit sum 5, and sum of square of digits are 13.
i think the same like you, can't understand anyone who get max score in this task
going by problem description looks like 23 should be lucky number, either description of problem is wrong or test case.
I agree .. the test cases are wrong ... 23 is a lucky number!
Yes, it's been 3 month, why is nobody fixing this?
Thank you for pointing this out. It has been corrected.
Man, I think that in fact there are no unlucky numbers and this is all rave.