Skip to main content
Tweeted twitter.com/StackCompSci/status/1128495526545117184
Post Reopened by ryan, Discrete lizard
Add more clear source
Source Link

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?(source


Source: codechef.com MAY Long challenge)codechef.com MAY Long challenge "Ada Rooks 2"

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?(source: codechef.com MAY Long challenge)

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?


Source: codechef.com MAY Long challenge "Ada Rooks 2"

Post Closed as "Not suitable for this site" by David Richerby, chi, Evil, ryan, Discrete lizard

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?(source:codeforces codechef.com MAY Long challenge)

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?(source:codeforces.com)

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?(source: codechef.com MAY Long challenge)

added 21 characters in body
Source Link

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?(source:codeforces.com)

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?

How do we place $8n$ objects on a square of size $n\times n$ in a form of grid such that no 4 of them form a rectangle with sides parallel to those of square? Each object occupies exactly one cell in the grid and two objects cannot occupy the same cell. We are given $n\geq 100$.

Example. The following can be a $7\times7$ portion of some large grid (say $200\times200$), where 0 and 1 denote empty and filled cells respectively):

0000111  
0101001
0011100
0110010
1010001
1001010
1100100

What approach one should follow to solve the problem?(source:codeforces.com)

Minor improvement.
Source Link
John L.
  • 39.1k
  • 4
  • 34
  • 91
Loading
deleted 141 characters in body
Source Link
D.W.
  • 165.6k
  • 21
  • 230
  • 490
Loading
Clarity and tags
Source Link
ryan
  • 4.5k
  • 1
  • 15
  • 41
Loading
added 79 characters in body
Source Link
Loading
added 156 characters in body
Source Link
Loading
Source Link
Loading