Search:

Type: Posts; User: Jesterira

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    3,330

    Yes, the generated pattern has to be in...

    Yes, the generated pattern has to be in alphabetical order
    What should I change in printresult() to make it a useful recursive function?

    It has to have a runtime less than 15 seconds for pattern...
  2. Replies
    8
    Views
    3,330

    Again, Mastermind Game Assistant Question

    This program supposes to print out all the possible solution of given the guess pattern, the number of black pegs, and the number of white pegs in a mastermind game.

    In addition, it has to be done...
  3. Replies
    12
    Views
    3,201

    Is there another way to solve this problem?

    Is there another way to solve this problem?
  4. Replies
    12
    Views
    3,201

    Actually. At the length of 8 the program still...

    Actually. At the length of 8 the program still works fine. But for some reason, I need it to work for more than a length of 15 with a runtime less than 30 second. So, what should I do? Thanks for...
  5. Replies
    12
    Views
    3,201

    There is an example of the output at the main...

    There is an example of the output at the main post. If that what you mean. The length is 3, the pattern is abc and the black is 2 the white is 0.
  6. Replies
    12
    Views
    3,201

    So, the input should be the length of the...

    So, the input should be the length of the pattern, the pattern itself and the number of black and white pegs.
  7. Replies
    12
    Views
    3,201

    Sorry that variable got cencored by the system,...

    Sorry that variable got cencored by the system, it suppose to be guess_Hit without the underscore
  8. Replies
    12
    Views
    3,201

    This is the newest version of my code. It works...

    This is the newest version of my code. It works but it take forever to due with larger guess pattern length.

    What can I do to my code to speed it up?



    #include<stdio.h>
    #include<stdlib.h>...
  9. Replies
    12
    Views
    3,201

    Mastermind Assistant Program - Help needed

    This program should print all the possible solution for a single mastermind game.
    The output should look like this:



    Enter the pattern length: 3

    Input the guess pattern: abc

    Enter the...
Results 1 to 9 of 11