Irresponsible Numbers

Sort by

recency

|

8 Discussions

|

  • + 0 comments

    Anyone who's all test cases are passing in Java ?

    Kindly share code.

    I'm unable to pass all test cases.

  • + 1 comment

    I am looking at the input and expected output for test case 1 and the percentage of irresponsible numbers is 97%+ (input is a 6 digit number and n is 1). How is that possible ?

  • + 0 comments

    Can anyone tell me whats wrong with this code: http://pastebin.com/BtUWTe6E

  • + 2 comments

    I think the answer is simply 40% of total numbers from 1 to ntimesx;

    because every 4/10 numbers are responsible from 1-10, every 40 numbers are irresponsible from 1-100, 400 from 1 to 1000 and so on.

  • + 1 comment

    Found 4 pairs for Number less then 11: 5+6

    6+7

    7+8

    8+9

    and 5 unique numbers. Does X a prime number?