回答編集履歴

2

修正

2020/06/02 01:26

投稿

ForestSeo
ForestSeo

スコア2722

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  for x, y in product(range(32), range(32)):
10
10
 
11
- if (x - 16) ** 2 + (x - 16) * (y - 16) <= 36:
11
+ if (x - 16) ** 2 + (y - 16) ** 2 <= 36:
12
12
 
13
13
  lst[y][x] = 1
14
14
 
@@ -16,72 +16,70 @@
16
16
 
17
17
  -----追記-----
18
18
 
19
- 実行したら
20
-
21
19
  ```Python
22
20
 
23
- 00000000000000111111111111111111
21
+ 00000000000000000000000000000000
24
22
 
25
- 00000000000000111111111111111111
23
+ 00000000000000000000000000000000
26
24
 
27
- 00000000000000111111111111111111
25
+ 00000000000000000000000000000000
28
26
 
29
- 00000000000000111111111111111111
27
+ 00000000000000000000000000000000
30
28
 
31
- 00000000000000111111111111111110
29
+ 00000000000000000000000000000000
32
30
 
33
- 00000000000000111111111111111100
31
+ 00000000000000000000000000000000
34
32
 
35
- 00000000000000111111111111111000
33
+ 00000000000000000000000000000000
36
34
 
37
- 00000000000001111111111111111000
35
+ 00000000000000000000000000000000
38
36
 
39
- 00000000000001111111111111110000
37
+ 00000000000000000000000000000000
40
38
 
41
- 00000000000001111111111111100000
39
+ 00000000000000000000000000000000
42
40
 
43
- 00000000000001111111111111000000
41
+ 00000000000000001000000000000000
44
42
 
45
- 00000000000011111111111111000000
43
+ 00000000000001111111000000000000
46
44
 
47
- 00000000000011111111111110000000
45
+ 00000000000011111111100000000000
48
46
 
49
- 00000000000011111111111100000000
47
+ 00000000000111111111110000000000
50
48
 
51
- 00000000000111111111111100000000
49
+ 00000000000111111111110000000000
52
50
 
53
- 00000000000111111111111000000000
51
+ 00000000000111111111110000000000
54
52
 
55
53
  00000000001111111111111000000000
56
54
 
57
- 00000000001111111111110000000000
55
+ 00000000000111111111110000000000
58
56
 
59
- 00000000011111111111110000000000
57
+ 00000000000111111111110000000000
60
58
 
61
- 00000000011111111111100000000000
59
+ 00000000000111111111110000000000
62
60
 
63
- 00000000111111111111100000000000
61
+ 00000000000011111111100000000000
64
62
 
65
- 00000001111111111111100000000000
63
+ 00000000000001111111000000000000
66
64
 
67
- 00000001111111111111000000000000
65
+ 00000000000000001000000000000000
68
66
 
69
- 00000011111111111111000000000000
67
+ 00000000000000000000000000000000
70
68
 
71
- 00000111111111111111000000000000
69
+ 00000000000000000000000000000000
72
70
 
73
- 00001111111111111111000000000000
71
+ 00000000000000000000000000000000
74
72
 
75
- 00001111111111111110000000000000
73
+ 00000000000000000000000000000000
76
74
 
77
- 00011111111111111110000000000000
75
+ 00000000000000000000000000000000
78
76
 
79
- 00111111111111111110000000000000
77
+ 00000000000000000000000000000000
80
78
 
81
- 01111111111111111110000000000000
79
+ 00000000000000000000000000000000
82
80
 
83
- 11111111111111111110000000000000
81
+ 00000000000000000000000000000000
84
82
 
85
- 11111111111111111110000000000000
83
+ 00000000000000000000000000000000
86
84
 
87
- ```こうなりましたが.....?
85
+ ```こうですね。

1

修正

2020/06/02 01:26

投稿

ForestSeo
ForestSeo

スコア2722

test CHANGED
@@ -13,3 +13,75 @@
13
13
  lst[y][x] = 1
14
14
 
15
15
  ```なんか他でできそうな気もするけどとりあえず出しときます。
16
+
17
+ -----追記-----
18
+
19
+ 実行したら
20
+
21
+ ```Python
22
+
23
+ 00000000000000111111111111111111
24
+
25
+ 00000000000000111111111111111111
26
+
27
+ 00000000000000111111111111111111
28
+
29
+ 00000000000000111111111111111111
30
+
31
+ 00000000000000111111111111111110
32
+
33
+ 00000000000000111111111111111100
34
+
35
+ 00000000000000111111111111111000
36
+
37
+ 00000000000001111111111111111000
38
+
39
+ 00000000000001111111111111110000
40
+
41
+ 00000000000001111111111111100000
42
+
43
+ 00000000000001111111111111000000
44
+
45
+ 00000000000011111111111111000000
46
+
47
+ 00000000000011111111111110000000
48
+
49
+ 00000000000011111111111100000000
50
+
51
+ 00000000000111111111111100000000
52
+
53
+ 00000000000111111111111000000000
54
+
55
+ 00000000001111111111111000000000
56
+
57
+ 00000000001111111111110000000000
58
+
59
+ 00000000011111111111110000000000
60
+
61
+ 00000000011111111111100000000000
62
+
63
+ 00000000111111111111100000000000
64
+
65
+ 00000001111111111111100000000000
66
+
67
+ 00000001111111111111000000000000
68
+
69
+ 00000011111111111111000000000000
70
+
71
+ 00000111111111111111000000000000
72
+
73
+ 00001111111111111111000000000000
74
+
75
+ 00001111111111111110000000000000
76
+
77
+ 00011111111111111110000000000000
78
+
79
+ 00111111111111111110000000000000
80
+
81
+ 01111111111111111110000000000000
82
+
83
+ 11111111111111111110000000000000
84
+
85
+ 11111111111111111110000000000000
86
+
87
+ ```こうなりましたが.....?