Comment detail
LL Golf Hole 4 - 文章から単語の索引を作る (Nested Flatten)This comment is reply for 7070 koguro: まだ無駄があった (277 bytes)。(LL Golf Hole 4 - 文章から単語の索引を作る ). Go to thread root.
素直にstdinから読んで146B。
1 | (let([t(hash-table'equal?)][n 1])(guard,,(hash-table-map t print)(while(map(cut hash-table-push! t <> n)(string-split(read-line)#[\W]))(inc! n))))
|




athos
#7075()
[
Scheme
]
Rating0/2=0.00
もっと素直にやっても結構短くなるみたいですよ(262bytes)。
Rating0/2=0.00-0+