| Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
|---|---|---|---|---|---|---|
| 1 | FSFabian Schedler | Kotlin | 318 | 156 | 162 | 22 months ago | 
funmain()=println(    generateSequence(::readLine).toList().run{        valrowsToExpand=indices.filter{y->'#'!inthis[y]}        valcolumnsToExpand=indices.filter{x->none{it[x]=='#'}}        flatMapIndexed{y,row->            row.mapIndexedNotNull{x,value->                if(value!='#')nullelsey+rowsToExpand.count{it<y}tox+columnsToExpand.count{it<x}            }        }.run{flatMap{map(it::to)}}            .sumOf{it.run{Math.abs(first.first-second.first)+Math.abs(first.second-second.second)}}/2    })