Jump to content

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 > [: ? @0:
attemptClimb =: [: <:`>:@.step #@(''"_)
isNotUpOne =: -.@(+/@])
892

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.