Search:

Type: Posts; User: mMarko

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    33,404

    Ahh I thought you were supposed to write the...

    Ahh I thought you were supposed to write the recursive functions without using iteration. Anyway I'm glad you solved your problem.

    P.S.

    I'm sorry but I, still don't get your idea in the second...
  2. Replies
    14
    Views
    33,404

    I'm still learning C ...and recursion isn't...

    I'm still learning C ...and recursion isn't really my speciality ;), I will have to think a little about it to give an answer.

    Anyway I have a question about your second iterative version. Why did...
  3. Replies
    16
    Views
    3,031

    What exactly do you have problem with? Did you...

    What exactly do you have problem with? Did you try writting anything?
  4. Replies
    9
    Views
    2,216

    Oh yes, I wasn't looking for the declaration of a...

    Oh yes, I wasn't looking for the declaration of a variable used in main, on the lines after it's used ;)

    Ok then, since it's global the second part of my post doesn't apply too

    ...but it should...
  5. Replies
    9
    Views
    2,216

    Also "i" isn't declared and there is no value...

    Also "i" isn't declared and there is no value assigned to it. Plus even if you do all that the program probably won't do what you liked it to do... ;)

    edit: damn I'm slow :(
  6. Replies
    9
    Views
    2,216

    You mean errorS? ;)

    You mean errorS? ;)
  7. Thread: Complexity

    by mMarko
    Replies
    7
    Views
    2,845

    Well yes we are talking about prime factors, and...

    Well yes we are talking about prime factors, and yes you are right, it's 6469693230, I don't know the number, I calculated it ;) ...don't know if it's my or calculator's fault ...probably mine ;)....
  8. Thread: Complexity

    by mMarko
    Replies
    7
    Views
    2,845

    Well yes I am :). The smallest number with 10...

    Well yes I am :). The smallest number with 10 different factors would be 6692786100 (it's factors are the first 10 primes) and that's over 2^32

    Thanks for the other advices too, will try to do...
  9. Thread: Complexity

    by mMarko
    Replies
    7
    Views
    2,845

    Complexity

    Hi, I started learning C recently and I don't have much experience. I need to make a program that will factorize an entered integer number and I should also explain the program. No problems with that...
Results 1 to 9 of 9