| Name | Language | Tokens Sum | Tokens Part 1 | Tokens Part 2 | Last change | |
|---|---|---|---|---|---|---|
| 1 | Python | 188 | 85 | 103 | 12 months ago | |
| 2 | PXplcc0 | Python | 212 | 98 | 114 | 4 months ago |
| 3 | Python | 222 | 102 | 120 | 12 months ago | |
| 4 | Kotlin | 253 | 119 | 134 | 12 months ago | |
| 5 | JavaScript | 268 | 122 | 146 | 12 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]else sequenceOf(x+first(),x*first()).any{drop(1).check(it)} it.drop(1).check(0) }.sumOf{it.first()})}