There was an error while loading. Please reload this page.
1 parent efe49ad commit f92bc83Copy full SHA for f92bc83
3 files changed
config/holes.toml
@@ -1334,6 +1334,28 @@ preamble = '''
1334
their own line.
1335
'''
1336
1337
+['Number Spiral']
1338
+category = 'Art'
1339
+preamble = '''
1340
+<p>
1341
+ Print a <b>10x10</b> grid of the numbers <b>0</b> to <b>99</b> inclusive.
1342
+ Starting at the top left the numbers should spiral clockwise towards the
1343
+ centre, be right aligned, and have a space between each number.
1344
+
1345
+<p>The full grid should look like this:
1346
1347
+<pre> 0 1 2 3 4 5 6 7 8 9
1348
+35 36 37 38 39 40 41 42 43 10
1349
+34 63 64 65 66 67 68 69 44 11
1350
+33 62 83 84 85 86 87 70 45 12
1351
+32 61 82 95 96 97 88 71 46 13
1352
+31 60 81 94 99 98 89 72 47 14
1353
+30 59 80 93 92 91 90 73 48 15
1354
+29 58 79 78 77 76 75 74 49 16
1355
+28 57 56 55 54 53 52 51 50 17
1356
+27 26 25 24 23 22 21 20 19 18</pre>
1357
+'''
1358
1359
['Odd Polyomino Tiling']
1360
category = 'Art'
1361
experiment = -1
db/a-schema.sql
@@ -26,9 +26,9 @@ CREATE TYPE hole AS ENUM (
26
'intersection', 'isbn', 'kolakoski-constant', 'kolakoski-sequence',
27
'leap-years', 'levenshtein-distance', 'leyland-numbers', 'look-and-say',
28
'lucky-tickets', 'morse-decoder', 'morse-encoder', 'musical-chords',
29
- 'niven-numbers', 'odious-numbers', 'ordinal-numbers', 'pangram-grep',
30
- 'pascals-triangle', 'pernicious-numbers', 'poker', 'prime-numbers',
31
- 'prime-numbers-long', 'qr-decoder', 'quine', 'recamán',
+ 'niven-numbers', 'number-spiral', 'odious-numbers', 'ordinal-numbers',
+ 'pangram-grep', 'pascals-triangle', 'pernicious-numbers', 'poker',
+ 'prime-numbers', 'prime-numbers-long', 'qr-decoder', 'quine', 'recamán',
32
'rock-paper-scissors-spock-lizard', 'roman-to-arabic', 'rule-110',
33
'seven-segment', 'sierpiński-triangle', 'smith-numbers',
34
'spelling-numbers', 'star-wars-opening-crawl', 'sudoku', 'sudoku-v2',
hole/answers/number-spiral.txt
@@ -0,0 +1,10 @@
1
+ 0 1 2 3 4 5 6 7 8 9
2
3
4
5
6
7
8
9
10
+27 26 25 24 23 22 21 20 19 18
0 commit comments