Loading ...
Sorry, an error occurred while loading the content.

Re: [puzzles] Chess Chalenge

Expand Messages
  • sahana rao
    Hi Sahil I don t know about your knowledge about algorithms. But I felt it s necessary to tell you that this is a problem of backtracking. I have designed a C
    Message 1 of 4 , Aug 31, 2005
    • 0 Attachment
      Hi Sahil
       
                 I don't know about your knowledge about algorithms. But I felt it's necessary to tell you that this is a problem of backtracking. I have designed a C program for it. If u need that program just mail me.
       
       Now coming to the solution of your problem..There are many solutions I have given a few check it out. The places where you can place queens are given as 1. and other places are given by 0.
       
       the soln is.:
      0  0  0  0  0  0  1  0                                                         
      0  0  0  0  1  0  0  0                                                         
      0  0  1  0  0  0  0  0                                                         
      1  0  0  0  0  0  0  0                                                         
      0  0  0  0  0  1  0  0                                                         
      0  0  0  0  0  0  0  1                                                         
      0  1  0  0  0  0  0  0                                                         
      0  0  0  1  0  0  0  0                                                         
                                                                                     
       the soln is.:                                                                 
      0  0  0  0  0  0  0  1                                                         
      0  1  0  0  0  0  0  0                                                         
      0  0  0  1  0  0  0  0                                                         
      1  0  0  0  0  0  0  0                                                         
      0  0  0  0  0  0  1  0                                                         
      0  0  0  0  1  0  0  0                                                         
      0  0  1  0  0  0  0  0                                                         
      0  0  0  0  0  1  0  0                                                         
                                                                                     
       the soln is.:                                                                 
      0  0  0  0  0  0  0  1                                                         
      0  1  0  0  0  0  0  0                                                         
      0  0  0  0  1  0  0  0                                                         
      0  0  1  0  0  0  0  0                                                         
      1  0  0  0  0  0  0  0                                                         
      0  0  0  0  0  0  1  0                                                         
      0  0  0  1  0  0  0  0                                                         
      0  0  0  0  0  1  0  0                                                         
                                                                                     
       the soln is.:                                                                 
      0  0  0  0  0  0  0  1                                                         
      0  0  1  0  0  0  0  0                                                         
      1  0  0  0  0  0  0  0                                                         
      0  0  0  0  0  1  0  0                                                         
      0  1  0  0  0  0  0  0                                                         
      0  0  0  0  1  0  0  0                                                         
      0  0  0  0  0  0  1  0                                                         
      0  0  0  1  0  0  0  0                                                         
                                                                                     
       the soln is.:                                                                 
      0  0  0  0  0  0  0  1                                                         
      0  0  0  1  0  0  0  0                                                         
      1  0  0  0  0  0  0  0                                                         
      0  0  1  0  0  0  0  0                                                         
      0  0  0  0  0  1  0  0                                                         
      0  1  0  0  0  0  0  0                                                         
      0  0  0  0  0  0  1  0                                                         
      0  0  0  0  1  0  0  0                                                         
                                                                                     
      Hope you have got it
      Any doubts you can mail me. I'll try my best to clear yur doubts.
       
      Bye
      Sahana

      ace_free2rhyme <ace_free2rhyme@...> wrote:
      Hi
      I m new to this group...
      I had a chess puzzle for you


      Arrange 8 queens on a chess board in such a way that no queen
      intersects the path of any other queen in vertical,horizontal and
      diagonal way..

      I spent a lot of time in solving this puzzle still didn't got the ans.
      So guys..plz try to solve it as early as possible and them mail the
      solution.

      Sahil


      __________________________________________________
      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
      http://mail.yahoo.com

    • Saket Goel
      Hi, If I recall correctly, there are 72 solutions. Though some of them will be mirror images of others. Thanks, Saket ace_free2rhyme
      Message 2 of 4 , Sep 5, 2005
      • 0 Attachment
        Hi,
         
        If I recall correctly, there are 72 solutions. Though some of them will be mirror images of others.
         
        Thanks,
        Saket


        ace_free2rhyme <ace_free2rhyme@...> wrote:
        Hi
        I m new to this group...
        I had a chess puzzle for you


        Arrange 8 queens on a chess board in such a way that no queen
        intersects the path of any other queen in vertical,horizontal and
        diagonal way..

        I spent a lot of time in solving this puzzle still didn't got the ans.
        So guys..plz try to solve it as early as possible and them mail the
        solution.

        Sahil


        How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos

      Your message has been successfully submitted and would be delivered to recipients shortly.