Search:

Type: Posts; User: K12

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    4,033

    Changed the loop but still got it wrong. Thanks...

    Changed the loop but still got it wrong. Thanks anon.

    Regarding the iostream input buffer, I changed the code to include good(). But the code does not compile, can someone please tell me how to...
  2. Replies
    17
    Views
    4,033

    The problem description does not mention how the...

    The problem description does not mention how the input should stop. I just assumed a 0 0 input would end it. If you have any experience with questions like this, please tell me how to get it right.
  3. Replies
    17
    Views
    4,033

    Attempted a fix: if(i>j) { ...

    Attempted a fix:

    if(i>j)
    {
    for(i;i>j-1;i--)
    {
    if (CycleLength(i)>max_cycle)
    max_cycle=CycleLength(i);
    }
    }
  4. Replies
    17
    Views
    4,033

    Thanks, the image was hilarious. You can check...

    Thanks, the image was hilarious.

    You can check out the description here:

    http://online-judge.uva.es/p/v1/100.html

    EDIT: Judges keep on giving a wrong answer for this.
  5. Replies
    17
    Views
    4,033

    Why? What are the pros and cons? Alright, I...

    Why? What are the pros and cons?

    Alright, I took your advice of indentation and did my best to fix the current code in terms of indentation. Please check it and spot the problem if the indentation...
  6. Replies
    17
    Views
    4,033

    [help] 3n+1 problem

    Salam to Muslims,

    Hi there guys,
    I need some help with this problem. I have written code and it does work as far as I can tell but one of the online judges does not accept it.

    Please suggest...
  7. Replies
    2
    Views
    2,918

    How do I enable warnings in Dev C++?

    How do I enable warnings in Dev C++?
  8. Replies
    2
    Views
    2,918

    Some help with a program.

    Hi there,

    I need some help with a program I am writing:

    Write a program that will allow the user to enter the results of TEST1 for (Computing Systems and Programming) subject and store them in...
Results 1 to 8 of 8