| Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
|---|---|---|---|---|---|---|
| 1 | Python | 188 | 85 | 103 | 11 months ago | |
| 2 | PXplcc0 | Python | 206 | 95 | 111 | 4 months ago |
| 3 | Python | 222 | 102 | 120 | 11 months ago | |
| 4 | Kotlin | 253 | 119 | 134 | 11 months ago | |
| 5 | JavaScript | 268 | 122 | 146 | 11 months ago |
funmain()=generateSequence(::readLine).map{it.split(" ",": ").map(String::toLong)}.run{ println(filter{ funList<Long>.check(x:Long):Boolean=if(isEmpty())x==it[0]elsefirst().let{ sequenceOf(x+it,x*it,"$x$it".toLong()).any{drop(1).check(it)} } it.drop(1).check(0) }.sumOf{it.first()}) }