Twelve statements: Difference between revisions
Content added Content deleted
m (Corrected alphabetical order :-)) |
m (→{{header|Uiua}}: Minor fix) |
||
Line 4,139: | Line 4,139: | ||
⊙⊂⟜SG⊙⊂⟜SH⊙⊂⟜SI⊙⊂⟜SJ⊙⊂⟜SK⟜SL |
⊙⊂⟜SG⊙⊂⟜SH⊙⊂⟜SI⊙⊂⟜SJ⊙⊂⟜SK⟜SL |
||
⊙⊂⟜SA⊙⊂⟜SB⊙⊂⟜SC⊙⊂⟜SD⊙⊂⟜SE⊙⊂⟜SF |
⊙⊂⟜SA⊙⊂⟜SB⊙⊂⟜SC⊙⊂⟜SD⊙⊂⟜SE⊙⊂⟜SF |
||
⊟∩□:⊙(⊚⌵-). # Append hit-count |
⊟∩□:⊙(⊚⌵-). # Append hit-count |
||
)⋯⇡4096 # Brute |
)⊏⊚≡(=1⊢).⋯⇡4096 # Brute force sensible combinations |
||
# Partition by fit, keep only hits and near-misses |
# Partition by fit, keep only hits and near-misses |
||
°⊟↙2⊕□≡(◇⧻⊢). |
°⊟↙2⊕□≡(◇⧻⊢). |
||
# Print results |
|||
&p"\nNear Misses"&s+1◇⊚⊢↘1◇⊢&p"Hits" |
&p"\nNear Misses"&s+1◇⊚⊢↘1◇⊢&p"Hits" |
||
⊏⍏≡⊢.°□ # Sort misses |
⊏⍏≡⊢.°□ # Sort misses |
||
Line 4,154: | Line 4,156: | ||
Near Misses |
Near Misses |
||
Fails at 1 [5 8 11] |
|||
Fails at 1 [4 8 10 11 12] |
|||
Fails at 1 [5 8 10 11 12] |
|||
Fails at 6 [1 4 6 8 9] |
Fails at 6 [1 4 6 8 9] |
||
Fails at 7 [1 3 4 8 9] |
Fails at 7 [1 3 4 8 9] |