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 1805. Chapaev and a Cipher Grille

Can anyone explain sample test?
Posted by Sq1 26 Jan 2017 23:25
Can anyone explain sample test? I have smth like this:
Case n = 4, k = 1:
0000
0000
0000
1111
Case n = 4, k = 2:
0000
0000
0001
0111
Case n = 4, k = 3:
0000
0000
0001
1011
Case n = 4, k = 4:
0000
0000
0001
1101
Case n = 4, k = 15:
0000
0000
0011
1100
Re: Can anyone explain sample test?
Posted by Harkonnen 10 Aug 2022 11:59
Matrix should not overlap itself after 90-degree rotations (no two '1' at same position) and should cover all NxN elements after 4 such rotations.