Jump to content

New pages

New pages
Hide bots | Hide redirects

3 September 2026

31 August 2026

  • 10:3410:34, 31 August 2026 DSA/CSES 2Knights (hist | edit) [4,455 bytes] Admin (talk | contribs) (Created page with "== Non-Attacking Knights on a k×k Board == '''Problem.''' For every board size <math>k = 1, 2, \dots, n</math>, count the number of ways to place ''two'' knights on a <math>k \times k</math> chessboard so that they do not attack each other. The core is instead of calculating the possible combinations of placements which is confusing we can do ''total_possibilities - attacking_squares'' ---- === Step 1: Total ways to place two knights, ignoring attacks === A <math>k...") Tag: Visual edit: Switched