help needed

This is a discussion on help needed within the C Programming forums, part of the General Programming Boards category; can any 1 give me a hint on how to approach this problem ?. www.spoj.pl/problems/INUMBER hav no idea how to ...

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    71

    help needed

    can any 1 give me a hint on how to approach this problem ?.
    www.spoj.pl/problems/INUMBER

    hav no idea how to even start ..

    thank u

  2. #2
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    For the given number n find the minimal positive integer divisable by n, with the sum of digits equal to n.
    Break it up:

    For the given number n find the minimal positive integer divisable by n.
    There's your starting point.
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    71

    wow

    oh..hi..nice reply there... !!!!!! :-/

  4. #4
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    Was there a purpose to that response? Is it asking for elaboration?

    I'm going to assume so.

    I'm also going to assume that this is homework. Therefore, I'm not going to give you a solution to that problem, am I?

    You asked for a starting point. I gave you a starting point. Do you need further clarification?

    Start by solving the first section of the problem. "For the given number n find the minimal positive integer divisable by n."

    If you need help with that, then ask for it. We don't do your work for you, we're here to help you on a specific problem that merits help.
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. free needed or not?
    By quantt in forum Linux Programming
    Replies: 3
    Last Post: 06-25-2009, 09:32 AM
  2. C Programmers needed for Direct Hire positions
    By canefan in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 09-24-2008, 11:55 AM
  3. lock needed in this scenario?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-25-2008, 07:22 AM
  4. C++ help needed
    By Enkindu in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 08-31-2004, 11:24 PM
  5. semi-colon - where is it needed
    By kes103 in forum C++ Programming
    Replies: 8
    Last Post: 09-12-2003, 05:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21