User:DanBron/Game of Nim: Difference between revisions

m
→‎{{header|J}}: format fiddle
(→‎{{header|J}}: improve J entry by 1 point)
m (→‎{{header|J}}: format fiddle)
Line 37:
'''Example''':<lang j> nim 4 7 2 2 1
0 2 2 2 0</lang>
'''Notes on execution''': Just define <tt>nim</tt> in the REPL and call it as per the example.<br/>
'''Golf score''': 23 bytes (including the assigment, i.e. naming the function; 18 bytes for the function definition).
Anonymous user