Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/24-game/APL/24-game.apl
Normal file
8
Task/24-game/APL/24-game.apl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
tfgame←{⎕IO←1
|
||||
⎕←d←?⍵⍴9
|
||||
i←⍞
|
||||
u[⍋u←{⍎¨⍣(0≠≢⍵)⊢⍵}(i∊'1234567890')⊆i]≢d[⍋d]:'nope'
|
||||
~∧/((~b←i∊'1234567890')/i)∊'+-×÷()':'nope'
|
||||
24≠⍎i:'nope'
|
||||
'Yeah!'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue