blob: b572647829fcba7c02b1c901049ee2107d33e75e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import sys
mask = int(sys.argv[1])
print(3, 1, 1000000)
def f(m):
t = [[0]*3]*3
for i in range(3):
for j in range(3):
t[i][j] = (m >> (i*3 + j)) & 1
print('x' if t[i][j] else '.', end='')
print()
f(mask)
|