Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • mdmaSeptember 25, 2009 10:00 AM PDT   
    unusual cases

    Hi,

    Is there a minimum size board that will be tested? Do we need to handle all the corner cases?

    E.g.
    3 3 a1 8 2

    2 3 a1 2 2

    etc..

    Seems I'm being a bit pedantic, but who knows what the judges will be throwing at our code!

    mat

    BradleyKuszmaulSeptember 25, 2009 10:50 AM PDT
    Rate
     
    Re: unusual cases

    Quoting - mdm100
    Hi,

    Is there a minimum size board that will be tested? Do we need to handle all the corner cases?

    E.g.
    3 3 a1 8 2

    2 3 a1 2 2

    etc..

    Seems I'm being a bit pedantic, but who knows what the judges will be throwing at our code!

    mat
    I would expect these cases to be thrown, including going down to 1x1 board and 2x2 board where there are no legal moves.

    I would also expect to see requests for tours that are longer than the number of squares on the board.

    The corner case they probably won't do is tours of length 0 or 1 , since it's not clear what it means.


Forum jump:  

Intel Software Network Forums Statistics

17,025 users have contributed to 48,317 threads and 172,754 posts to date.

In the past 24 hours, we have 9 new thread(s) 56 new posts(s), and 52 new user(s).

In the past 3 days, the most popular thread for everyone has been How to manage rounding by IVF ?? The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member redfruit83


For more complete information about compiler optimizations, see our Optimization Notice.