1
0
Fork 0
factor-puzzles/rosalind/inod/inod.factor

10 lines
293 B
Factor
Raw Normal View History

2020-11-29 08:22:10 +01:00
! Copyright (C) 2020 Bubbler.
! See http://factorcode.org/license.txt for BSD license.
USING: io.encodings.utf8 io.files math math.parser prettyprint ;
IN: rosalind.inod
: inod ( n -- m ) 2 - ;
: inod-main ( -- ) "datasets/rosalind/inod.txt" utf8 file-contents dec> inod . ;
MAIN: inod-main