ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1197. Lonesome Knight

You can use this table for easy AC.
Posted by Keworker 19 Jun 2021 11:21
. - empty cage
1 - chess knight
2 - cells under attack

8 | . . . . . . . .
7 | . . . . . . . .
6 | . . 2 . 2 . . .
5 | . 2 . . . 2 . .
4 | . . . 1 . . . .
3 | . 2 . . . 2 . .
2 | . . 2 . 2 . . .
1 | . . . . . . . .
___________________
    a b c d e f g h
    1 2 3 4 5 6 7 8