General Idea for Solving Chess based problems

Revision en1, by Trgt_2021_explosion, 2020-06-17 09:02:38

Hi Almighty CF Community,

First I googled a lot but didn't get any explanation.(However code is available)

I feel it difficult to solve problems of type "no of ways to arrange some elements of chess so that they are attacking/not attacking each other." I was solving CSES Two Knights problem and I am struggling to come up by a general formula.

I will request if any one can explain the idea behind such problems in general? or at least for this Two Knights problem.

Tags chess board, two knights

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Trgt_2021_explosion 2020-06-17 09:47:58 0 (published)
en2 English Trgt_2021_explosion 2020-06-17 09:46:20 121 (saved to drafts)
en1 English Trgt_2021_explosion 2020-06-17 09:02:38 566 Initial revision (published)