Competitions

This is a discussion on Competitions within the C++ Programming forums, part of the General Programming Boards category; Why is there no programming competitions in here, its the best learning tool, something to aim for. start with easy ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    64

    Competitions

    Why is there no programming competitions in here, its the best learning tool, something to aim for.

    start with easy stuff (not too easy of course tough) and work upwards, the new guys like me can attempt them and then everyone can post there programs and see where they went wrong from some of the more experienced people.

    what do you think, a good way to learn or not?

    Just an idea.

  2. #2
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    There is a competition in the newsletter (codejournal). Sign up on the main page to receive it...
    Blue

  3. #3
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    The latest... (which is obviously for people with unlimited time... of which I am not one of them.)

    At the end of every issue we will issue a programming challenge and ask
    people to submit their solutions within two weeks. The best solutions
    will be published the next issue, along with a new challenge.

    No one submitted any answers to last week's code challenge, so we will
    offer it again this week, except with a hint.

    This week's challenge:
    One famous chess problem is the Knight's Tour, in which a knight, placed on
    a starting square, is then moved to every other square on the chessboard.
    The Knight's Tour is a fairly typical chess problem. Your challenge is not
    only to write a program to calculate the Knight's Tour from any square on the
    board, but also to allow the user to add up to five pieces to the board that
    the moving knight must avoid capturing and must also avoid being moved onto
    a square where it could be captured. As an interesting note, in _The
    Psychology of Chess_ the authors talk about a test for chess talent that
    works under similar conditions and is based on the speed of response.
    The test accurately predicated a future grandmaster.

    HINT: Use recursion.

    Send your solution's source code to codejournal@cprogramming.com, and you may
    find it published (Note: due to length of code, solutions will be downloadable
    from the web rather than printed). Please include either your name or an
    identifying username so that we may attribute the solution to you in the next
    newsletter. If you wish, you may ask us to withhold your name
    Blue

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Xmas competitions
    By Salem in forum Contests Board
    Replies: 88
    Last Post: 01-03-2004, 02:08 PM
  2. Competitions in C
    By AProg in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 05-24-2003, 12:53 PM

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