Stair-climbing puzzle: Difference between revisions
m
→{{header|J}}: simplify step
(→{{header|J}}: Add explicit version, simplify tacit) |
m (→{{header|J}}: simplify step) |
||
Line 161:
=={{header|J}}==
'''Solution (Tacit):'''
<lang j>step =: 0.6 >
attemptClimb =: [: <:`>:@.step #@(''"_)
isNotUpOne =: -.@(+/@])
|