Compare commits
23 Commits
b9a8e7585b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 3906d6ef72 | |||
| 1d745a0855 | |||
| 3550f65914 | |||
| 20f20a3179 | |||
| eff95027de | |||
| 76e670770e | |||
| e014b32ab4 | |||
| ed3c7f3a04 | |||
| 73235b3e44 | |||
| 118b56e5f3 | |||
| b5e8ea0a3b | |||
| 57f4a97627 | |||
| 20e2555470 | |||
| 998c523971 | |||
| 7de77107e6 | |||
| 5bb873bcc5 | |||
| c3e8e6320e | |||
| 81a488aaee | |||
| 5c94aed258 | |||
| 97334d34eb | |||
| 399d894c68 | |||
| 782fccc572 | |||
| 811a6a0af0 |
+3
-14
@@ -1,18 +1,7 @@
|
||||
plugins {
|
||||
id("kotlin-convention")
|
||||
kotlin("kapt")
|
||||
id("aoc")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":utils"))
|
||||
|
||||
kapt(Libs.Micronaut.processor)
|
||||
|
||||
implementation(Libs.Slf4J.api)
|
||||
runtimeOnly(Libs.Slf4J.simple)
|
||||
|
||||
implementation(Libs.eclipseCollections)
|
||||
|
||||
testImplementation(Libs.Jmh.core)
|
||||
kaptTest(Libs.Jmh.processor)
|
||||
application {
|
||||
mainClass.set("be.vandewalleh.aoc.days.MainKt")
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
target area: x=20..30, y=-10..-5
|
||||
@@ -0,0 +1 @@
|
||||
target area: x=139..187, y=-148..-89
|
||||
@@ -0,0 +1,42 @@
|
||||
import nre, strutils
|
||||
|
||||
let
|
||||
regex = re"x=(-?\d+)..(-?\d+), y=(-?\d+)..(-?\d+)"
|
||||
data = readFile("input.txt")
|
||||
captures = data.find(regex).get.captures
|
||||
x1 = captures[0].parseInt()
|
||||
x2 = captures[1].parseInt()
|
||||
y1 = captures[2].parseInt()
|
||||
y2 = captures[3].parseInt()
|
||||
minX = min(x1, x2)
|
||||
maxX = max(x1, x2)
|
||||
minY = min(y1, y2)
|
||||
maxY = max(y1, y2)
|
||||
|
||||
proc land(dx: int, dy: int): int =
|
||||
var dx = dx
|
||||
var dy = dy
|
||||
var x = 0
|
||||
var y = 0
|
||||
var high = y
|
||||
while x < maxX and y > minY:
|
||||
x += dx
|
||||
y += dy
|
||||
if dx > 0: dx -= 1
|
||||
elif dx < 0: dx += 1
|
||||
dy -= 1
|
||||
high = max(high, y)
|
||||
if x in minX..maxX and y in minY..maxY:
|
||||
return high
|
||||
return -1
|
||||
|
||||
var high = 0
|
||||
var match = 0
|
||||
for x in -1000..1000:
|
||||
for y in -1000..1000:
|
||||
let res = land(x, y)
|
||||
if res != -1: match += 1
|
||||
high = max(res, high)
|
||||
|
||||
echo(high)
|
||||
echo(match)
|
||||
@@ -0,0 +1,29 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Counter<K> : Iterable<Map.Entry<K, Long>> {
|
||||
private val map = HashMap<K, Long>()
|
||||
operator fun get(key: K) = map[key] ?: 0L
|
||||
|
||||
operator fun set(key: K, count: Long) {
|
||||
map[key] = count
|
||||
}
|
||||
|
||||
operator fun set(key: K, count: Int) {
|
||||
if (count == 0)
|
||||
map.remove(key)
|
||||
else
|
||||
map[key] = count.toLong()
|
||||
}
|
||||
|
||||
fun toMap() = map.toMap(HashMap())
|
||||
override fun toString() = map.toString()
|
||||
|
||||
fun minValue() = map.minOf { it.value }
|
||||
fun maxValue() = map.maxOf { it.value }
|
||||
|
||||
override fun iterator() = toMap().iterator()
|
||||
|
||||
companion object
|
||||
}
|
||||
|
||||
operator fun <T> Counter.Companion.invoke(items: Iterable<T>) = Counter<T>().apply { items.forEach { this[it] += 1 } }
|
||||
@@ -1,12 +1,13 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
import be.vandewalleh.aoc.utils.input.Lines
|
||||
|
||||
@Day
|
||||
class Day01(@Lines val items: IntArray) {
|
||||
class Day01 : BaseDay() {
|
||||
private val items by lazy { input.lines.ints }
|
||||
|
||||
fun part1(): Int {
|
||||
override fun part1(): Int {
|
||||
var count = 0
|
||||
for (i in 0 until items.size - 1) {
|
||||
if (items[i] < items[i + 1]) count++
|
||||
@@ -14,7 +15,7 @@ class Day01(@Lines val items: IntArray) {
|
||||
return count
|
||||
}
|
||||
|
||||
fun part2(): Int {
|
||||
override fun part2(): Int {
|
||||
var count = 0
|
||||
for (i in 0 until items.size - 3) {
|
||||
val a = items.drop(i).take(3).sum()
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
import be.vandewalleh.aoc.utils.input.Text
|
||||
|
||||
@Day
|
||||
class Day02(@Text input: String) {
|
||||
private val lines = input.lines().map { it.split(' ').let { it[0] to it[1].toInt() } }
|
||||
class Day02 : BaseDay() {
|
||||
private val lines by lazy { input.lines.value.map { it.split(' ').let { it[0] to it[1].toInt() } } }
|
||||
|
||||
fun part1(): Any {
|
||||
override fun part1(): Int {
|
||||
var horizontalPosition = 0
|
||||
var depth = 0
|
||||
lines.forEach { (direction, value) ->
|
||||
@@ -20,7 +20,7 @@ class Day02(@Text input: String) {
|
||||
return horizontalPosition * depth
|
||||
}
|
||||
|
||||
fun part2(): Any {
|
||||
override fun part2(): Any {
|
||||
var horizontalPosition = 0
|
||||
var depth = 0
|
||||
var aim = 0
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day03 : BaseDay() {
|
||||
override fun part1(): Int {
|
||||
val moreOnes = input.lines.value[0].indices
|
||||
.map { i -> input.lines.value.map { it[i] } }
|
||||
.map { it.count { it == '1' } >= it.size / 2 }
|
||||
|
||||
val gamma = moreOnes.joinToString("") { if (it) "1" else "0" }.toInt(radix = 2)
|
||||
val epsilon = moreOnes.joinToString("") { if (!it) "1" else "0" }.toInt(radix = 2)
|
||||
return gamma * epsilon
|
||||
}
|
||||
|
||||
override fun part2(): Any {
|
||||
val o2 = findNumber(input.lines.value) { ones, zeros -> if (ones >= zeros) '1' else '0' }
|
||||
val co2 = findNumber(input.lines.value) { ones, zeros -> if (zeros <= ones) '0' else '1' }
|
||||
return o2 * co2
|
||||
}
|
||||
|
||||
private fun findNumber(input: List<String>, keep: (Int, Int) -> Char): Int {
|
||||
var numbers = input
|
||||
for (i in this.input.lines.value[0].indices) {
|
||||
if (numbers.size == 1) break
|
||||
val eachCount = numbers.map { it[i] }.groupingBy { it }.eachCount()
|
||||
val ones = eachCount['1'] ?: 0
|
||||
val zeros = eachCount['0'] ?: 0
|
||||
val maj = keep(ones, zeros)
|
||||
numbers = numbers.filter { it[i] == maj }
|
||||
}
|
||||
return numbers[0].toInt(2)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day04 : BaseDay() {
|
||||
private val numbers by lazy { input.lines.value[0].split(',').map { it.toInt() } }
|
||||
private val boards by lazy {
|
||||
input.text.split("\n\n")
|
||||
.drop(1)
|
||||
.map { it.lines().map { it.trim().split("\\s+".toRegex()).map { it.toInt() } } }
|
||||
}
|
||||
|
||||
private val results by lazy { boards.map { playBoard(it) } }
|
||||
|
||||
override fun part1() = results.minByOrNull { it.first }!!.second
|
||||
override fun part2() = results.maxByOrNull { it.first }!!.second
|
||||
|
||||
private fun playBoard(board: List<List<Int>>): Pair<Int, Int> {
|
||||
for (round in numbers.indices) {
|
||||
val usedNumbers = numbers.take(round)
|
||||
for (line in board + board[0].indices.map { col -> board.map { it[col] } }) {
|
||||
if (usedNumbers.containsAll(line)) {
|
||||
val unmarkedNumbers = board.flatten().toMutableSet().also { it.removeAll(usedNumbers) }
|
||||
return round to unmarkedNumbers.sum() * usedNumbers.last()
|
||||
}
|
||||
}
|
||||
}
|
||||
error("No wins")
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day05 : BaseDay() {
|
||||
|
||||
data class Point(val x: Int, val y: Int)
|
||||
|
||||
private val re = "(\\d+),(\\d+) -> (\\d+),(\\d+)".toRegex()
|
||||
|
||||
private fun path(start: Point, end: Point): Sequence<Point> {
|
||||
val dx = end.x.compareTo(start.x)
|
||||
val dy = end.y.compareTo(start.y)
|
||||
return generateSequence(start) {
|
||||
if (it == end) null
|
||||
else Point(it.x + dx, it.y + dy)
|
||||
}
|
||||
}
|
||||
|
||||
override fun part1(): Int {
|
||||
val visited = HashMap<Point, Int>()
|
||||
input.lines.value
|
||||
.map {
|
||||
re.find(it)!!.destructured.let { (x1, y1, x2, y2) ->
|
||||
Point(x1.toInt(), y1.toInt()) to Point(x2.toInt(), y2.toInt())
|
||||
}
|
||||
}
|
||||
.filter { (start, end) -> start.x == end.x || start.y == end.y }
|
||||
.flatMap { (start, end) -> path(start, end) }
|
||||
.forEach { visited.compute(it) { _, value -> (value ?: 0) + 1 } }
|
||||
|
||||
return visited.values.count { it >= 2 }
|
||||
}
|
||||
|
||||
override fun part2(): Int {
|
||||
val visited = HashMap<Point, Int>()
|
||||
input.lines.value
|
||||
.map {
|
||||
re.find(it)!!.destructured.let { (x1, y1, x2, y2) ->
|
||||
Point(x1.toInt(), y1.toInt()) to Point(x2.toInt(), y2.toInt())
|
||||
}
|
||||
}
|
||||
.flatMap { (start, end) -> path(start, end) }
|
||||
.forEach { visited.compute(it) { _, value -> (value ?: 0) + 1 } }
|
||||
|
||||
return visited.values.count { it >= 2 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day06 : BaseDay() {
|
||||
override fun part1() = run(80)
|
||||
override fun part2() = run(256)
|
||||
|
||||
private fun run(days: Int): Long {
|
||||
var fish = LongArray(9)
|
||||
input.csv.ints.forEach { fish[it] = fish[it] + 1 }
|
||||
|
||||
var newFish: LongArray
|
||||
for (day in 1..days) {
|
||||
newFish = LongArray(9)
|
||||
for (timer in 8 downTo 1) {
|
||||
newFish[timer - 1] = fish[timer]
|
||||
}
|
||||
newFish[8] = fish[0]
|
||||
newFish[6] = fish[0] + newFish[6]
|
||||
fish = newFish
|
||||
}
|
||||
return fish.sum()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
import kotlin.math.abs
|
||||
|
||||
@Day
|
||||
class Day07 : BaseDay() {
|
||||
|
||||
override fun part1(): Any {
|
||||
val ints = input.csv.ints
|
||||
return (ints.minOrNull()!!..ints.maxOrNull()!!).minOf { target -> ints.sumOf { abs(it - target) } }
|
||||
}
|
||||
|
||||
private fun calc(position: Int, target: Int): Int {
|
||||
val diff = abs(position - target)
|
||||
var sum = 0
|
||||
for (i in 1..diff) {
|
||||
sum += diff - i + 1
|
||||
}
|
||||
return sum
|
||||
}
|
||||
|
||||
override fun part2(): Any {
|
||||
val ints = input.csv.ints
|
||||
return (ints.minOrNull()!!..ints.maxOrNull()!!).minOf { target -> ints.sumOf { calc(it, target) } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day08 : BaseDay() {
|
||||
|
||||
override fun part1() = input.lines.value
|
||||
.map { it.split(" | ")[1].split(" ") }
|
||||
.sumOf { it.count { it.length in setOf(2, 3, 4, 7) } }
|
||||
|
||||
override fun part2() = input.lines.value
|
||||
.map { it.split(" | ").map { it.split(" ") } }
|
||||
.sumOf { (pattern, digits) ->
|
||||
val patterns = decodePatterns(pattern)
|
||||
digits.map { patterns[it.sortChars()] }.joinToString("").toInt()
|
||||
}
|
||||
|
||||
private fun decodePatterns(patterns: List<String>): Map<String, Int> {
|
||||
val result = Array(10) { "" }
|
||||
|
||||
result[1] = patterns.single { it.length == 2 }
|
||||
result[7] = patterns.single { it.length == 3 }
|
||||
result[4] = patterns.single { it.length == 4 }
|
||||
result[8] = patterns.single { it.length == 7 }
|
||||
|
||||
val frequency = patterns.flatMap { it.toCharArray().toList() }.groupBy { it }.mapValues { it.value.size }
|
||||
val a = (result.letters(7) - result.letters(1)).first()
|
||||
val b = frequency.findKey { it.value == 6 }
|
||||
val c = frequency.findKey { it.value == 8 && it.key != a }
|
||||
val d = frequency.findKey { it.value == 7 && it.key in result.letters(4) }
|
||||
val e = frequency.findKey { it.value == 4 }
|
||||
val f = frequency.findKey { it.value == 9 }
|
||||
|
||||
result[0] = patterns.find { it.length == 6 && d !in it }!!
|
||||
result[2] = patterns.find { it.length == 5 && b !in it && f !in it }!!
|
||||
result[3] = patterns.find { it.length == 5 && b !in it && e !in it }!!
|
||||
result[5] = patterns.find { it.length == 5 && c !in it && e !in it }!!
|
||||
result[6] = patterns.find { it.length == 6 && c !in it }!!
|
||||
result[9] = patterns.find { it.length == 6 && e !in it }!!
|
||||
|
||||
return result.mapIndexed { index, value -> value.sortChars() to index }.toMap()
|
||||
}
|
||||
|
||||
private fun Array<String>.letters(number: Int) = this[number].toCharArray().toSet()
|
||||
private fun <K, V> Map<K, V>.findKey(predicate: (Map.Entry<K, V>) -> Boolean) = entries.find(predicate)!!.key
|
||||
private fun String.sortChars() = toCharArray().sorted().joinToString("")
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
private data class Point(val x: Int, val y: Int)
|
||||
private fun Point.adjacents() = listOf(copy(y = y - 1), copy(x = x + 1), copy(y = y + 1), copy(x = x - 1))
|
||||
|
||||
@Day
|
||||
class Day09 : BaseDay() {
|
||||
|
||||
private val map by lazy {
|
||||
input.lines.value.flatMapIndexed { y, line ->
|
||||
line.mapIndexed { x, value -> Point(x, y) to value.digitToInt() }
|
||||
}.filterNot { it.second == 9 }.toMap()
|
||||
}
|
||||
|
||||
private val lows by lazy {
|
||||
map.keys.filter { point -> point.adjacents().mapNotNull { map[it] }.all { it > map[point]!! } }
|
||||
}
|
||||
|
||||
override fun part1() = lows.sumOf { map[it]!! + 1 }
|
||||
|
||||
override fun part2() = lows.map { low ->
|
||||
val visited = HashSet<Point>().apply { add(low) }
|
||||
generateSequence(hashSetOf(low)) {
|
||||
it.asSequence()
|
||||
.flatMap { it.adjacents() }
|
||||
.filter { it in map }
|
||||
.filterNot { it in visited }
|
||||
.toHashSet()
|
||||
.also { visited.addAll(it) }
|
||||
.ifEmpty { null }
|
||||
}.flatten().count()
|
||||
}.sorted().takeLast(3).fold(1) { a, b -> a * b }
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day10 : BaseDay() {
|
||||
private val chunks = mapOf(
|
||||
')' to '(',
|
||||
']' to '[',
|
||||
'>' to '<',
|
||||
'}' to '{',
|
||||
)
|
||||
|
||||
override fun part1(): Any {
|
||||
val points = mapOf(
|
||||
')' to 3,
|
||||
']' to 57,
|
||||
'}' to 1197,
|
||||
'>' to 25137,
|
||||
)
|
||||
return input.lines.value.sumOf { line ->
|
||||
val stack = mutableListOf<Char>()
|
||||
for (char in line) {
|
||||
if (char in chunks) {
|
||||
if (stack.last() == chunks[char]!!) stack.removeLast()
|
||||
else return@sumOf points[char]!!
|
||||
} else {
|
||||
stack.add(char)
|
||||
}
|
||||
}
|
||||
0
|
||||
}
|
||||
}
|
||||
|
||||
override fun part2(): Any {
|
||||
val points = mapOf(
|
||||
'(' to 1,
|
||||
'[' to 2,
|
||||
'{' to 3,
|
||||
'<' to 4,
|
||||
)
|
||||
return input.lines.value.mapNotNull { line ->
|
||||
val stack = mutableListOf<Char>()
|
||||
for (char in line) {
|
||||
if (char in chunks) {
|
||||
if (stack.last() == chunks[char]!!) stack.removeLast()
|
||||
else return@mapNotNull null
|
||||
} else {
|
||||
stack.add(char)
|
||||
}
|
||||
}
|
||||
stack.foldRight(0L) { char, score -> score * 5 + points[char]!! }
|
||||
}.sorted().let { it[it.size / 2] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day11 : BaseDay() {
|
||||
|
||||
private data class Point(val x: Int, val y: Int) {
|
||||
fun adjacents() = listOf(
|
||||
copy(y = y - 1),
|
||||
copy(x = x + 1),
|
||||
copy(y = y + 1),
|
||||
copy(x = x - 1),
|
||||
copy(y = y - 1, x = x - 1),
|
||||
copy(x = x + 1, y = y + 1),
|
||||
copy(y = y + 1, x = x - 1),
|
||||
copy(x = x + 1, y = y - 1),
|
||||
)
|
||||
}
|
||||
|
||||
private val map by lazy {
|
||||
input.lines.value.flatMapIndexed { y, line ->
|
||||
line.mapIndexed { x, value -> Point(x, y) to value.digitToInt() }
|
||||
}.toMap()
|
||||
}
|
||||
|
||||
override fun part1(): Int {
|
||||
val map = map.toMap(HashMap())
|
||||
var count = 0
|
||||
repeat(100) { count += step(map) }
|
||||
return count
|
||||
}
|
||||
|
||||
private fun step(map: HashMap<Point, Int>): Int {
|
||||
map.keys.forEach { map[it] = map[it]!! + 1 }
|
||||
val flashed = hashSetOf<Point>()
|
||||
while (true) {
|
||||
val count = map.entries.asSequence()
|
||||
.filter { it.value > 9 }
|
||||
.filter { it.key !in flashed }
|
||||
.onEach { flashed += it.key }
|
||||
.flatMap { it.key.adjacents() }
|
||||
.filter { it in map }
|
||||
.onEach { map[it] = map[it]!! + 1 }
|
||||
.count()
|
||||
|
||||
if (count == 0) break
|
||||
}
|
||||
|
||||
map.entries.filter { it.value > 9 }
|
||||
.map { it.key }
|
||||
.forEach { map[it] = 0 }
|
||||
|
||||
return flashed.size
|
||||
}
|
||||
|
||||
override fun part2(): Int {
|
||||
val map = map.toMap(HashMap())
|
||||
repeat(10000) { if (step(map) == map.size) return it + 1 }
|
||||
return -1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day12 : BaseDay() {
|
||||
|
||||
private val map by lazy {
|
||||
HashMap<String, MutableSet<String>>().also { map ->
|
||||
input.lines.value.map { it.split("-") }
|
||||
.flatMap { (a, b) -> listOf(listOf(a, b), listOf(b, a)) }
|
||||
.filter { (_, b) -> b != "start" }
|
||||
.forEach { (a, b) -> map.computeIfAbsent(a) { HashSet() }.add(b) }
|
||||
}
|
||||
}
|
||||
|
||||
override fun part1(): Any {
|
||||
val stack = map["start"]!!.map { listOf("start", it) }.toMutableList()
|
||||
|
||||
var i = 0
|
||||
while (stack.isNotEmpty()) {
|
||||
val path = stack.removeLast()
|
||||
val node = path.last()
|
||||
for (next in map[node]!!) {
|
||||
when {
|
||||
next == "end" -> i++
|
||||
next[0].isUpperCase() -> stack.add(path + next)
|
||||
else -> if (next !in path) stack.add(path + next)
|
||||
}
|
||||
}
|
||||
}
|
||||
return i
|
||||
}
|
||||
|
||||
override fun part2(): Any {
|
||||
val stack = map["start"]!!.map { listOf("start", it) }.toMutableList()
|
||||
|
||||
var i = 0
|
||||
while (stack.isNotEmpty()) {
|
||||
val path = stack.removeLast()
|
||||
val node = path.last()
|
||||
for (next in map[node]!!) {
|
||||
when {
|
||||
next == "end" -> i++
|
||||
next[0].isUpperCase() -> stack.add(path + next)
|
||||
else -> {
|
||||
val hasTwoSmallCaves = path.filter { it[0].isLowerCase() }
|
||||
.any { cur -> path.count { it == cur } == 2 }
|
||||
if (!hasTwoSmallCaves || next !in path) stack.add(path + next)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return i
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day13 : BaseDay() {
|
||||
private data class Point(val x: Int, val y: Int)
|
||||
|
||||
override fun part1(): Int {
|
||||
val (nums, folds) = input()
|
||||
val (axis, value) = folds.first()
|
||||
return nums.toSet().fold(axis, value.toInt()).size
|
||||
}
|
||||
|
||||
private fun Set<Point>.fold(axis: String, value: Int) = if (axis == "x") {
|
||||
val (left, right) = partition { it.x < value }
|
||||
left.toSet() + right.map { it.copy(x = 2 * value - it.x) }
|
||||
} else {
|
||||
val (top, bottom) = partition { it.y < value }
|
||||
top.toSet() + bottom.map { it.copy(y = 2 * value - it.y) }
|
||||
}
|
||||
|
||||
override fun part2(): String {
|
||||
val (nums, folds) = input()
|
||||
val all = folds.fold(nums.toSet()) { all, (axis, value) -> all.fold(axis, value.toInt()) }
|
||||
val res = StringBuilder()
|
||||
for (y in 0..all.maxOf { it.y }) {
|
||||
for (x in 0..all.maxOf { it.x }) {
|
||||
if (Point(x, y) in all) res.append('#') else res.append(" ")
|
||||
}
|
||||
res.appendLine()
|
||||
}
|
||||
|
||||
return res.toString()
|
||||
}
|
||||
|
||||
private fun input(): Pair<List<Point>, List<List<String>>> {
|
||||
val gr = input.text.split("\n\n")
|
||||
val nums = gr[0].lines().map { it.split(",") }.map { (x, y) -> Point(x.toInt(), y.toInt()) }
|
||||
val folds = "([xy])=(\\d+)".toRegex().findAll(gr[1]).map { it.groupValues.drop(1) }.toList()
|
||||
return nums to folds
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.Day
|
||||
|
||||
@Day
|
||||
class Day14 : BaseDay() {
|
||||
|
||||
private fun run(step: Int): Long {
|
||||
val template = input.lines.value.first()
|
||||
val pairs = input.findAll("(\\S+) -> (\\S)").associate { it[0] to it[1] }
|
||||
val polymer = Counter(template.windowed(2)) // {NN=1, NC=1, CB=1}
|
||||
val counts = Counter(template.toCharArray().toList()) // {N=2, C=1, ...}
|
||||
|
||||
repeat(step) {
|
||||
polymer.forEach { (pair, value) ->
|
||||
val (left, right) = pairs[pair]!!.let { m -> pair[0] + m to m + pair[1] }
|
||||
polymer[pair] -= value
|
||||
polymer[left] += value
|
||||
polymer[right] += value
|
||||
counts[left[1]] += value
|
||||
}
|
||||
}
|
||||
|
||||
return counts.maxValue() - counts.minValue()
|
||||
}
|
||||
|
||||
override fun part1() = run(10)
|
||||
override fun part2() = run(40)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,601 @@
|
||||
50,68,2,1,69,32,87,10,31,21,78,23,62,98,16,99,65,35,27,96,66,26,74,72,45,52,81,60,38,57,54,19,18,77,71,29,51,41,22,6,58,5,42,92,85,64,94,12,83,11,17,14,37,36,59,33,0,93,34,70,97,7,76,20,3,88,43,47,8,79,80,63,9,25,56,75,15,4,82,67,39,30,89,86,46,90,48,73,91,55,95,28,49,61,44,84,40,53,13,24
|
||||
|
||||
38 80 23 60 82
|
||||
25 35 28 47 39
|
||||
40 0 30 48 76
|
||||
32 41 49 69 4
|
||||
13 42 89 20 12
|
||||
|
||||
76 89 13 5 98
|
||||
87 48 2 59 20
|
||||
37 88 41 24 57
|
||||
16 85 31 73 95
|
||||
70 11 93 30 27
|
||||
|
||||
81 55 41 85 33
|
||||
67 97 71 90 52
|
||||
19 3 79 66 14
|
||||
49 96 94 26 25
|
||||
60 46 51 82 9
|
||||
|
||||
33 60 26 83 21
|
||||
91 7 39 19 41
|
||||
88 9 82 69 29
|
||||
93 79 12 34 11
|
||||
43 65 64 54 20
|
||||
|
||||
55 75 71 30 14
|
||||
42 67 3 73 13
|
||||
78 72 51 96 99
|
||||
95 10 84 0 31
|
||||
91 47 66 33 34
|
||||
|
||||
11 72 55 52 79
|
||||
94 34 53 61 40
|
||||
8 31 49 68 71
|
||||
37 45 15 78 57
|
||||
21 88 65 24 56
|
||||
|
||||
65 59 4 41 69
|
||||
44 61 23 46 42
|
||||
10 68 37 54 25
|
||||
82 2 13 71 93
|
||||
87 90 89 57 74
|
||||
|
||||
75 70 40 68 30
|
||||
5 28 58 52 19
|
||||
80 96 53 43 63
|
||||
33 60 66 64 56
|
||||
88 74 9 8 36
|
||||
|
||||
58 38 46 42 89
|
||||
98 85 17 51 2
|
||||
28 92 22 64 53
|
||||
27 97 43 10 54
|
||||
75 56 71 67 79
|
||||
|
||||
75 86 11 4 39
|
||||
14 80 41 26 2
|
||||
97 18 96 5 28
|
||||
44 68 54 88 35
|
||||
57 98 74 21 19
|
||||
|
||||
45 16 4 23 63
|
||||
44 37 99 21 85
|
||||
2 82 58 10 84
|
||||
0 47 53 33 20
|
||||
93 19 39 72 8
|
||||
|
||||
5 25 24 32 44
|
||||
59 37 95 88 89
|
||||
68 69 8 96 99
|
||||
16 0 7 92 94
|
||||
65 15 55 66 31
|
||||
|
||||
65 14 92 66 69
|
||||
43 45 30 8 26
|
||||
87 47 18 82 76
|
||||
33 80 67 35 22
|
||||
38 62 84 96 52
|
||||
|
||||
39 45 15 57 53
|
||||
35 47 70 4 0
|
||||
50 17 65 78 3
|
||||
2 7 28 36 42
|
||||
99 48 27 83 72
|
||||
|
||||
52 47 81 44 92
|
||||
35 86 36 71 29
|
||||
57 15 1 95 7
|
||||
68 77 6 3 31
|
||||
20 13 58 89 93
|
||||
|
||||
2 56 27 4 64
|
||||
69 91 88 58 15
|
||||
10 92 61 63 6
|
||||
84 93 79 25 90
|
||||
16 31 55 46 53
|
||||
|
||||
23 42 93 12 30
|
||||
47 99 38 0 14
|
||||
6 90 72 70 21
|
||||
62 61 96 87 22
|
||||
5 55 51 28 17
|
||||
|
||||
42 12 58 95 92
|
||||
67 89 88 87 47
|
||||
32 72 11 83 97
|
||||
55 16 66 57 29
|
||||
54 64 96 2 36
|
||||
|
||||
72 47 69 68 12
|
||||
23 4 37 79 13
|
||||
52 5 59 58 70
|
||||
44 3 21 93 76
|
||||
97 0 35 9 71
|
||||
|
||||
87 49 55 18 94
|
||||
68 32 99 50 37
|
||||
15 3 80 90 42
|
||||
83 12 41 21 58
|
||||
91 89 74 45 51
|
||||
|
||||
5 60 13 46 47
|
||||
18 54 33 26 0
|
||||
28 43 83 31 20
|
||||
12 75 34 36 4
|
||||
76 2 80 70 79
|
||||
|
||||
16 66 25 97 20
|
||||
52 23 80 74 90
|
||||
31 81 95 28 36
|
||||
99 8 50 57 98
|
||||
11 0 30 35 39
|
||||
|
||||
12 33 36 90 30
|
||||
59 66 77 25 46
|
||||
88 24 4 41 50
|
||||
18 52 37 75 43
|
||||
68 49 56 84 87
|
||||
|
||||
27 80 51 25 93
|
||||
4 41 61 30 67
|
||||
68 47 15 20 50
|
||||
78 66 97 54 84
|
||||
35 1 23 89 14
|
||||
|
||||
82 51 38 80 75
|
||||
35 79 43 54 3
|
||||
73 13 23 25 59
|
||||
27 64 47 62 66
|
||||
83 0 7 4 20
|
||||
|
||||
67 2 72 23 81
|
||||
46 1 26 85 25
|
||||
31 65 52 16 14
|
||||
15 4 91 59 19
|
||||
83 60 10 89 90
|
||||
|
||||
62 63 13 96 6
|
||||
24 91 27 29 81
|
||||
38 47 50 26 36
|
||||
79 73 22 45 58
|
||||
15 54 76 46 70
|
||||
|
||||
42 69 91 34 9
|
||||
96 28 61 41 56
|
||||
15 5 59 47 50
|
||||
79 27 4 0 21
|
||||
51 44 26 95 32
|
||||
|
||||
9 38 6 58 99
|
||||
89 69 96 33 73
|
||||
26 20 32 12 27
|
||||
67 29 79 81 59
|
||||
66 45 24 36 68
|
||||
|
||||
99 52 1 66 64
|
||||
15 76 36 75 83
|
||||
48 7 95 71 6
|
||||
31 28 65 14 69
|
||||
10 38 46 74 96
|
||||
|
||||
15 12 59 98 54
|
||||
18 75 48 65 96
|
||||
57 38 2 86 5
|
||||
0 87 93 23 94
|
||||
50 29 13 91 14
|
||||
|
||||
55 83 80 45 52
|
||||
44 31 64 25 71
|
||||
15 85 50 91 54
|
||||
9 29 78 74 23
|
||||
73 82 75 58 98
|
||||
|
||||
63 56 29 80 25
|
||||
53 52 91 18 24
|
||||
73 83 7 11 87
|
||||
79 47 41 59 78
|
||||
13 51 9 21 20
|
||||
|
||||
28 35 98 80 63
|
||||
30 60 34 99 32
|
||||
11 61 15 73 24
|
||||
55 74 42 38 26
|
||||
22 17 43 75 71
|
||||
|
||||
97 53 65 75 51
|
||||
96 74 81 69 71
|
||||
76 5 49 60 41
|
||||
86 64 90 92 30
|
||||
6 95 85 93 40
|
||||
|
||||
65 90 20 4 82
|
||||
41 17 48 27 77
|
||||
84 60 94 15 10
|
||||
55 64 49 35 16
|
||||
36 8 23 58 59
|
||||
|
||||
74 19 70 35 82
|
||||
77 21 84 50 25
|
||||
18 61 12 28 54
|
||||
0 3 72 85 87
|
||||
78 4 57 38 16
|
||||
|
||||
1 63 0 38 23
|
||||
31 76 73 22 35
|
||||
8 72 44 25 45
|
||||
70 33 29 37 21
|
||||
49 50 85 57 61
|
||||
|
||||
37 50 51 12 93
|
||||
83 80 87 6 88
|
||||
4 95 62 20 41
|
||||
78 56 76 49 11
|
||||
72 7 52 14 28
|
||||
|
||||
72 34 61 19 68
|
||||
2 67 88 7 55
|
||||
8 11 20 85 47
|
||||
42 54 46 48 64
|
||||
38 84 3 76 13
|
||||
|
||||
32 34 55 90 64
|
||||
16 1 94 48 91
|
||||
96 45 27 58 63
|
||||
98 20 43 73 10
|
||||
87 52 49 8 24
|
||||
|
||||
6 9 31 37 29
|
||||
45 55 12 23 67
|
||||
86 0 81 49 1
|
||||
18 25 7 15 50
|
||||
32 34 90 99 69
|
||||
|
||||
38 73 44 17 52
|
||||
7 81 85 62 98
|
||||
68 66 86 21 76
|
||||
24 94 50 46 67
|
||||
36 54 55 96 8
|
||||
|
||||
90 39 51 5 99
|
||||
33 20 14 1 81
|
||||
94 74 38 95 35
|
||||
37 96 62 57 84
|
||||
65 11 55 46 69
|
||||
|
||||
26 29 75 3 55
|
||||
33 83 68 94 47
|
||||
37 41 85 50 57
|
||||
76 39 5 81 20
|
||||
18 24 92 71 87
|
||||
|
||||
89 92 39 70 59
|
||||
40 35 23 62 47
|
||||
7 16 22 34 71
|
||||
15 97 86 91 3
|
||||
54 26 56 44 29
|
||||
|
||||
93 91 66 8 78
|
||||
60 48 51 6 57
|
||||
69 35 87 65 73
|
||||
53 32 94 49 89
|
||||
88 34 23 84 59
|
||||
|
||||
41 57 7 37 0
|
||||
79 2 86 82 9
|
||||
25 69 14 78 33
|
||||
4 28 85 8 61
|
||||
97 72 88 1 54
|
||||
|
||||
24 84 65 28 60
|
||||
99 86 53 93 22
|
||||
17 67 10 29 54
|
||||
27 0 96 20 36
|
||||
25 3 62 89 33
|
||||
|
||||
10 28 78 82 96
|
||||
21 11 51 27 97
|
||||
41 63 72 58 89
|
||||
7 0 76 67 19
|
||||
52 38 87 18 13
|
||||
|
||||
73 35 49 44 79
|
||||
76 47 94 53 82
|
||||
11 61 88 86 83
|
||||
81 60 33 99 72
|
||||
84 26 40 8 54
|
||||
|
||||
31 50 40 9 80
|
||||
6 59 51 55 12
|
||||
2 34 93 38 13
|
||||
11 82 21 20 72
|
||||
89 83 60 53 79
|
||||
|
||||
42 54 52 13 85
|
||||
99 76 87 44 26
|
||||
36 50 0 59 82
|
||||
10 73 29 72 27
|
||||
79 31 64 51 91
|
||||
|
||||
68 49 65 94 3
|
||||
46 2 6 78 93
|
||||
63 31 53 27 60
|
||||
21 67 99 22 95
|
||||
24 9 18 76 33
|
||||
|
||||
31 95 91 18 37
|
||||
83 2 78 75 8
|
||||
77 33 9 12 22
|
||||
24 50 80 93 39
|
||||
21 47 35 70 94
|
||||
|
||||
2 44 55 60 89
|
||||
45 18 46 72 11
|
||||
47 83 56 52 65
|
||||
4 19 21 14 34
|
||||
25 80 16 48 36
|
||||
|
||||
53 92 71 14 95
|
||||
98 51 54 15 82
|
||||
48 87 99 46 83
|
||||
42 86 11 43 18
|
||||
72 28 37 93 78
|
||||
|
||||
84 79 30 28 98
|
||||
33 80 65 82 25
|
||||
35 29 46 13 60
|
||||
90 69 52 78 64
|
||||
55 94 0 48 56
|
||||
|
||||
42 71 26 93 82
|
||||
47 36 31 89 69
|
||||
65 5 41 1 32
|
||||
74 17 64 11 68
|
||||
23 54 61 99 37
|
||||
|
||||
97 4 22 2 38
|
||||
8 17 79 99 20
|
||||
44 80 28 57 32
|
||||
18 86 94 77 70
|
||||
11 93 75 49 3
|
||||
|
||||
80 48 85 89 23
|
||||
30 50 94 46 18
|
||||
59 9 81 42 8
|
||||
40 15 90 26 31
|
||||
0 51 39 36 65
|
||||
|
||||
93 63 15 87 25
|
||||
90 44 65 23 66
|
||||
22 27 20 17 45
|
||||
42 62 14 0 57
|
||||
46 4 10 35 96
|
||||
|
||||
44 43 60 80 86
|
||||
48 45 78 40 19
|
||||
54 98 32 17 69
|
||||
25 11 14 34 63
|
||||
26 20 59 0 74
|
||||
|
||||
0 59 87 45 30
|
||||
33 36 1 38 43
|
||||
67 37 74 2 70
|
||||
85 22 44 56 23
|
||||
68 24 75 92 10
|
||||
|
||||
90 83 87 85 67
|
||||
95 24 94 6 40
|
||||
77 15 52 68 66
|
||||
22 20 38 29 79
|
||||
3 10 62 13 16
|
||||
|
||||
9 49 87 13 18
|
||||
85 39 77 82 86
|
||||
96 44 12 72 78
|
||||
59 81 21 94 88
|
||||
17 93 23 56 45
|
||||
|
||||
57 53 80 98 22
|
||||
23 45 5 26 77
|
||||
6 28 4 25 83
|
||||
59 55 58 75 92
|
||||
72 36 99 82 97
|
||||
|
||||
74 33 53 49 86
|
||||
9 50 66 7 78
|
||||
29 36 71 26 87
|
||||
54 82 84 47 46
|
||||
39 30 56 22 27
|
||||
|
||||
6 49 84 14 43
|
||||
41 44 29 18 79
|
||||
93 56 77 64 26
|
||||
15 13 96 9 80
|
||||
50 54 75 99 24
|
||||
|
||||
58 49 91 69 63
|
||||
16 55 19 18 84
|
||||
13 79 42 56 0
|
||||
36 27 60 74 53
|
||||
66 61 62 54 15
|
||||
|
||||
85 22 43 79 90
|
||||
77 21 75 66 15
|
||||
25 68 69 35 78
|
||||
88 3 18 50 7
|
||||
8 27 52 76 72
|
||||
|
||||
12 56 0 45 33
|
||||
13 81 25 24 41
|
||||
80 65 9 32 95
|
||||
18 44 36 68 99
|
||||
78 29 17 38 43
|
||||
|
||||
57 41 77 5 10
|
||||
98 30 70 23 46
|
||||
9 19 11 34 74
|
||||
43 33 32 95 14
|
||||
65 8 68 50 88
|
||||
|
||||
49 93 95 1 55
|
||||
57 92 58 0 90
|
||||
69 15 23 62 56
|
||||
54 37 6 96 11
|
||||
26 80 70 79 88
|
||||
|
||||
46 76 82 77 19
|
||||
4 50 83 88 69
|
||||
67 44 59 25 21
|
||||
40 12 90 33 24
|
||||
63 78 9 71 86
|
||||
|
||||
74 82 88 25 15
|
||||
61 83 7 6 98
|
||||
41 9 84 13 72
|
||||
78 26 8 60 20
|
||||
4 58 29 93 11
|
||||
|
||||
46 60 44 55 63
|
||||
91 19 58 56 85
|
||||
2 32 67 26 41
|
||||
43 61 25 73 21
|
||||
86 14 71 9 6
|
||||
|
||||
38 72 58 17 77
|
||||
25 79 78 5 67
|
||||
81 70 50 85 73
|
||||
7 69 14 80 6
|
||||
93 51 60 42 29
|
||||
|
||||
82 28 99 66 27
|
||||
35 97 91 90 80
|
||||
87 7 55 78 17
|
||||
83 36 98 37 72
|
||||
58 43 51 49 56
|
||||
|
||||
93 72 61 19 74
|
||||
81 44 27 25 12
|
||||
96 10 26 69 99
|
||||
94 23 63 52 8
|
||||
71 95 17 54 70
|
||||
|
||||
28 21 33 5 26
|
||||
45 86 63 92 69
|
||||
77 43 99 20 56
|
||||
89 40 36 30 53
|
||||
41 32 94 17 58
|
||||
|
||||
83 63 92 93 51
|
||||
11 86 67 3 61
|
||||
81 50 16 90 89
|
||||
0 75 31 22 77
|
||||
82 74 37 57 39
|
||||
|
||||
49 87 33 0 13
|
||||
54 38 71 85 32
|
||||
79 84 89 4 61
|
||||
34 14 69 47 3
|
||||
35 12 59 1 55
|
||||
|
||||
95 37 72 73 85
|
||||
0 69 50 75 55
|
||||
51 24 90 71 78
|
||||
66 86 23 40 6
|
||||
34 27 43 14 65
|
||||
|
||||
46 11 41 86 21
|
||||
31 82 38 23 53
|
||||
66 52 39 6 1
|
||||
16 95 36 0 69
|
||||
28 54 91 99 60
|
||||
|
||||
32 80 4 3 97
|
||||
26 63 89 52 22
|
||||
25 91 43 96 68
|
||||
71 42 78 34 56
|
||||
0 82 5 69 19
|
||||
|
||||
69 60 58 19 1
|
||||
91 59 54 52 11
|
||||
43 46 27 2 7
|
||||
89 57 42 88 31
|
||||
93 94 37 96 29
|
||||
|
||||
72 8 29 64 75
|
||||
16 45 0 39 46
|
||||
77 6 88 40 27
|
||||
92 78 21 63 51
|
||||
24 12 90 94 47
|
||||
|
||||
5 41 63 42 73
|
||||
37 80 91 18 50
|
||||
3 24 53 17 49
|
||||
6 86 30 46 69
|
||||
16 97 75 88 93
|
||||
|
||||
97 60 66 77 74
|
||||
1 72 41 69 94
|
||||
30 8 98 33 43
|
||||
99 63 95 91 11
|
||||
56 65 70 12 0
|
||||
|
||||
47 39 37 79 48
|
||||
60 31 19 10 53
|
||||
14 36 25 38 2
|
||||
76 89 32 1 20
|
||||
65 72 91 71 66
|
||||
|
||||
87 72 13 30 75
|
||||
50 80 97 17 63
|
||||
99 9 53 69 86
|
||||
20 57 92 66 21
|
||||
31 42 4 98 0
|
||||
|
||||
38 89 15 91 95
|
||||
94 20 13 64 25
|
||||
37 9 98 10 44
|
||||
28 97 5 78 32
|
||||
99 41 82 22 87
|
||||
|
||||
97 16 42 87 15
|
||||
19 70 82 66 30
|
||||
79 5 67 75 91
|
||||
27 26 56 63 17
|
||||
51 99 13 59 35
|
||||
|
||||
85 33 3 34 5
|
||||
72 74 88 81 10
|
||||
4 64 61 59 8
|
||||
78 42 90 27 80
|
||||
14 12 52 76 1
|
||||
|
||||
67 92 61 33 60
|
||||
82 91 85 76 56
|
||||
39 37 6 65 63
|
||||
32 51 45 14 98
|
||||
73 17 8 46 70
|
||||
|
||||
97 75 33 9 23
|
||||
85 27 15 3 26
|
||||
4 34 36 10 77
|
||||
68 82 37 32 86
|
||||
58 88 95 87 99
|
||||
|
||||
70 19 67 42 31
|
||||
81 6 10 95 18
|
||||
85 50 90 25 56
|
||||
16 94 7 78 24
|
||||
59 88 93 77 4
|
||||
|
||||
92 25 16 75 67
|
||||
97 71 53 32 90
|
||||
6 70 69 55 40
|
||||
77 20 72 84 73
|
||||
34 35 38 98 76
|
||||
|
||||
24 96 27 39 3
|
||||
54 26 12 65 60
|
||||
67 62 43 98 14
|
||||
15 95 2 82 33
|
||||
64 17 86 0 63
|
||||
@@ -0,0 +1,500 @@
|
||||
217,490 -> 217,764
|
||||
44,270 -> 373,599
|
||||
440,139 -> 440,303
|
||||
161,663 -> 345,663
|
||||
848,963 -> 908,963
|
||||
299,207 -> 162,70
|
||||
77,346 -> 77,686
|
||||
693,743 -> 693,127
|
||||
96,459 -> 96,779
|
||||
864,39 -> 233,670
|
||||
58,79 -> 203,79
|
||||
158,596 -> 463,291
|
||||
633,293 -> 136,293
|
||||
656,474 -> 656,72
|
||||
148,754 -> 947,754
|
||||
535,780 -> 535,460
|
||||
821,701 -> 821,796
|
||||
592,200 -> 592,610
|
||||
620,786 -> 722,786
|
||||
632,731 -> 536,731
|
||||
825,640 -> 195,10
|
||||
956,547 -> 956,387
|
||||
25,32 -> 981,988
|
||||
870,613 -> 870,16
|
||||
369,780 -> 369,362
|
||||
348,924 -> 243,924
|
||||
28,114 -> 540,114
|
||||
702,690 -> 702,335
|
||||
836,442 -> 184,442
|
||||
602,11 -> 602,651
|
||||
76,988 -> 608,988
|
||||
15,922 -> 951,922
|
||||
363,18 -> 296,18
|
||||
130,580 -> 516,580
|
||||
799,335 -> 858,335
|
||||
571,842 -> 571,800
|
||||
684,654 -> 684,971
|
||||
815,674 -> 66,674
|
||||
575,612 -> 575,919
|
||||
652,126 -> 822,296
|
||||
391,493 -> 730,493
|
||||
810,479 -> 810,807
|
||||
397,420 -> 780,37
|
||||
187,740 -> 869,740
|
||||
175,626 -> 175,169
|
||||
773,901 -> 773,44
|
||||
45,130 -> 45,17
|
||||
226,253 -> 252,279
|
||||
481,928 -> 481,521
|
||||
121,506 -> 121,50
|
||||
306,386 -> 653,733
|
||||
115,635 -> 208,542
|
||||
619,67 -> 212,67
|
||||
82,79 -> 972,969
|
||||
15,20 -> 15,933
|
||||
606,136 -> 500,136
|
||||
791,250 -> 791,316
|
||||
128,931 -> 781,278
|
||||
11,365 -> 11,226
|
||||
705,326 -> 57,326
|
||||
778,632 -> 173,27
|
||||
121,624 -> 121,737
|
||||
30,815 -> 909,815
|
||||
18,114 -> 869,965
|
||||
554,741 -> 554,771
|
||||
284,826 -> 945,826
|
||||
386,654 -> 295,654
|
||||
235,848 -> 418,848
|
||||
536,59 -> 497,59
|
||||
156,922 -> 29,922
|
||||
57,718 -> 174,718
|
||||
964,774 -> 964,426
|
||||
729,950 -> 729,254
|
||||
896,117 -> 152,861
|
||||
603,919 -> 603,776
|
||||
176,472 -> 573,472
|
||||
25,970 -> 939,56
|
||||
478,482 -> 38,482
|
||||
155,936 -> 956,135
|
||||
351,621 -> 133,403
|
||||
513,323 -> 103,323
|
||||
679,167 -> 679,983
|
||||
910,456 -> 241,456
|
||||
16,266 -> 16,829
|
||||
338,791 -> 973,156
|
||||
564,73 -> 564,676
|
||||
196,800 -> 339,800
|
||||
15,776 -> 973,776
|
||||
719,134 -> 719,775
|
||||
730,692 -> 272,692
|
||||
247,770 -> 244,770
|
||||
853,720 -> 940,720
|
||||
685,379 -> 873,379
|
||||
944,647 -> 944,206
|
||||
67,974 -> 967,74
|
||||
828,194 -> 355,194
|
||||
596,522 -> 596,169
|
||||
677,970 -> 638,970
|
||||
587,427 -> 587,354
|
||||
804,488 -> 469,153
|
||||
355,653 -> 787,221
|
||||
798,873 -> 133,873
|
||||
565,798 -> 534,829
|
||||
239,273 -> 20,273
|
||||
942,138 -> 398,138
|
||||
499,743 -> 958,284
|
||||
913,466 -> 514,466
|
||||
504,705 -> 504,983
|
||||
455,863 -> 451,863
|
||||
638,255 -> 425,255
|
||||
338,724 -> 338,457
|
||||
147,880 -> 928,99
|
||||
11,955 -> 806,160
|
||||
566,961 -> 231,961
|
||||
870,560 -> 611,560
|
||||
714,925 -> 859,925
|
||||
484,946 -> 905,946
|
||||
112,394 -> 266,394
|
||||
191,728 -> 191,635
|
||||
983,806 -> 217,40
|
||||
575,286 -> 730,286
|
||||
366,323 -> 366,211
|
||||
383,990 -> 834,990
|
||||
834,976 -> 26,168
|
||||
819,492 -> 819,648
|
||||
257,522 -> 257,199
|
||||
756,176 -> 244,176
|
||||
165,199 -> 569,199
|
||||
896,943 -> 18,65
|
||||
986,642 -> 354,10
|
||||
864,381 -> 349,381
|
||||
177,982 -> 977,182
|
||||
458,254 -> 458,920
|
||||
550,322 -> 550,297
|
||||
956,748 -> 270,62
|
||||
412,305 -> 292,305
|
||||
201,571 -> 375,571
|
||||
608,139 -> 608,330
|
||||
646,718 -> 432,504
|
||||
449,325 -> 449,115
|
||||
315,971 -> 955,331
|
||||
248,143 -> 477,143
|
||||
956,858 -> 111,13
|
||||
776,608 -> 739,608
|
||||
44,842 -> 548,842
|
||||
590,487 -> 590,792
|
||||
978,127 -> 978,748
|
||||
620,948 -> 852,948
|
||||
67,403 -> 67,122
|
||||
340,256 -> 346,256
|
||||
803,58 -> 474,387
|
||||
876,448 -> 876,55
|
||||
78,288 -> 565,288
|
||||
235,80 -> 480,80
|
||||
949,880 -> 949,666
|
||||
529,734 -> 529,332
|
||||
780,973 -> 780,824
|
||||
900,279 -> 698,279
|
||||
290,438 -> 34,694
|
||||
766,569 -> 766,443
|
||||
729,690 -> 729,137
|
||||
72,938 -> 72,893
|
||||
960,563 -> 960,322
|
||||
669,293 -> 578,293
|
||||
396,388 -> 984,388
|
||||
675,694 -> 211,230
|
||||
152,743 -> 63,743
|
||||
203,660 -> 391,660
|
||||
582,806 -> 906,806
|
||||
698,837 -> 698,483
|
||||
869,320 -> 595,594
|
||||
283,817 -> 283,861
|
||||
919,926 -> 919,235
|
||||
16,64 -> 930,978
|
||||
980,25 -> 16,989
|
||||
181,890 -> 952,119
|
||||
877,731 -> 877,364
|
||||
130,55 -> 130,111
|
||||
30,298 -> 590,858
|
||||
134,933 -> 134,41
|
||||
711,853 -> 711,196
|
||||
123,206 -> 841,924
|
||||
130,585 -> 130,394
|
||||
161,952 -> 531,952
|
||||
455,830 -> 455,919
|
||||
612,817 -> 30,817
|
||||
461,474 -> 106,119
|
||||
511,100 -> 581,30
|
||||
263,550 -> 263,814
|
||||
976,973 -> 14,11
|
||||
749,876 -> 380,876
|
||||
731,226 -> 731,659
|
||||
630,682 -> 570,622
|
||||
914,780 -> 311,780
|
||||
975,274 -> 87,274
|
||||
328,957 -> 724,957
|
||||
357,950 -> 357,659
|
||||
466,580 -> 466,726
|
||||
854,425 -> 854,559
|
||||
39,106 -> 39,82
|
||||
675,711 -> 956,711
|
||||
204,117 -> 672,585
|
||||
867,101 -> 49,919
|
||||
849,88 -> 784,88
|
||||
394,249 -> 394,730
|
||||
865,188 -> 125,928
|
||||
316,918 -> 722,918
|
||||
781,336 -> 781,551
|
||||
821,826 -> 258,826
|
||||
597,273 -> 597,653
|
||||
726,266 -> 90,902
|
||||
701,701 -> 941,701
|
||||
105,401 -> 949,401
|
||||
890,486 -> 890,205
|
||||
651,409 -> 651,408
|
||||
450,88 -> 51,88
|
||||
29,478 -> 29,667
|
||||
676,293 -> 676,77
|
||||
380,773 -> 962,773
|
||||
253,836 -> 429,836
|
||||
833,706 -> 123,706
|
||||
689,167 -> 665,143
|
||||
375,540 -> 375,346
|
||||
867,222 -> 746,343
|
||||
99,832 -> 370,561
|
||||
133,349 -> 133,815
|
||||
950,981 -> 12,43
|
||||
195,466 -> 644,466
|
||||
84,876 -> 84,720
|
||||
128,237 -> 34,331
|
||||
872,947 -> 960,947
|
||||
641,220 -> 641,472
|
||||
489,950 -> 489,441
|
||||
508,513 -> 721,300
|
||||
394,137 -> 332,137
|
||||
456,672 -> 625,503
|
||||
65,463 -> 540,463
|
||||
207,745 -> 529,423
|
||||
948,888 -> 891,831
|
||||
39,642 -> 165,642
|
||||
20,228 -> 20,386
|
||||
706,50 -> 57,699
|
||||
66,736 -> 66,840
|
||||
944,450 -> 915,479
|
||||
697,988 -> 697,862
|
||||
987,969 -> 57,39
|
||||
64,813 -> 64,468
|
||||
814,85 -> 469,85
|
||||
667,749 -> 154,236
|
||||
755,337 -> 755,50
|
||||
536,185 -> 536,217
|
||||
732,48 -> 529,48
|
||||
33,578 -> 430,578
|
||||
511,658 -> 669,658
|
||||
294,352 -> 353,352
|
||||
109,937 -> 820,226
|
||||
465,346 -> 465,114
|
||||
878,965 -> 34,121
|
||||
259,933 -> 576,933
|
||||
240,750 -> 240,296
|
||||
567,633 -> 899,965
|
||||
29,609 -> 169,469
|
||||
962,532 -> 962,921
|
||||
443,875 -> 395,875
|
||||
831,584 -> 510,263
|
||||
859,35 -> 84,810
|
||||
829,285 -> 829,463
|
||||
486,661 -> 883,661
|
||||
371,672 -> 959,84
|
||||
722,532 -> 722,241
|
||||
49,216 -> 468,216
|
||||
308,343 -> 308,277
|
||||
183,626 -> 264,545
|
||||
748,611 -> 356,611
|
||||
67,85 -> 925,943
|
||||
726,972 -> 726,272
|
||||
841,222 -> 841,867
|
||||
597,250 -> 813,250
|
||||
20,631 -> 555,631
|
||||
803,846 -> 589,632
|
||||
276,654 -> 222,708
|
||||
400,952 -> 672,952
|
||||
939,173 -> 534,173
|
||||
638,316 -> 638,935
|
||||
578,120 -> 578,101
|
||||
54,457 -> 723,457
|
||||
904,713 -> 904,721
|
||||
902,180 -> 99,983
|
||||
590,426 -> 174,10
|
||||
740,975 -> 309,975
|
||||
84,242 -> 803,961
|
||||
28,667 -> 362,333
|
||||
73,703 -> 73,354
|
||||
902,26 -> 902,365
|
||||
602,455 -> 578,431
|
||||
339,686 -> 339,846
|
||||
764,444 -> 311,444
|
||||
780,535 -> 862,453
|
||||
333,127 -> 911,127
|
||||
451,296 -> 451,832
|
||||
849,681 -> 849,580
|
||||
309,672 -> 309,913
|
||||
339,411 -> 147,411
|
||||
907,478 -> 974,545
|
||||
444,753 -> 855,342
|
||||
642,285 -> 683,244
|
||||
307,633 -> 751,633
|
||||
292,128 -> 767,603
|
||||
969,92 -> 647,414
|
||||
80,120 -> 942,982
|
||||
886,810 -> 740,810
|
||||
205,846 -> 168,846
|
||||
878,230 -> 72,230
|
||||
186,822 -> 628,822
|
||||
472,66 -> 472,609
|
||||
251,753 -> 129,753
|
||||
575,959 -> 102,959
|
||||
582,194 -> 858,194
|
||||
43,986 -> 43,589
|
||||
355,402 -> 751,402
|
||||
982,292 -> 86,292
|
||||
329,966 -> 329,379
|
||||
475,291 -> 475,924
|
||||
625,70 -> 625,350
|
||||
358,467 -> 981,467
|
||||
319,700 -> 736,283
|
||||
657,247 -> 654,247
|
||||
450,803 -> 450,497
|
||||
812,15 -> 812,425
|
||||
649,160 -> 377,160
|
||||
684,491 -> 690,491
|
||||
925,429 -> 772,429
|
||||
138,91 -> 883,91
|
||||
602,121 -> 774,293
|
||||
700,531 -> 451,531
|
||||
250,216 -> 800,766
|
||||
550,784 -> 289,784
|
||||
53,759 -> 228,759
|
||||
678,310 -> 645,343
|
||||
147,70 -> 171,46
|
||||
130,653 -> 130,103
|
||||
292,640 -> 731,640
|
||||
797,762 -> 618,762
|
||||
154,75 -> 964,885
|
||||
222,523 -> 557,523
|
||||
989,103 -> 989,964
|
||||
335,61 -> 422,61
|
||||
782,954 -> 160,332
|
||||
82,929 -> 82,528
|
||||
732,540 -> 635,637
|
||||
950,362 -> 798,362
|
||||
415,566 -> 916,566
|
||||
588,446 -> 743,291
|
||||
495,46 -> 495,435
|
||||
913,561 -> 303,561
|
||||
788,902 -> 788,698
|
||||
81,783 -> 715,149
|
||||
867,990 -> 867,558
|
||||
145,919 -> 145,725
|
||||
850,861 -> 727,861
|
||||
535,129 -> 535,496
|
||||
922,772 -> 922,917
|
||||
882,559 -> 672,349
|
||||
496,80 -> 496,948
|
||||
915,244 -> 516,643
|
||||
633,461 -> 748,461
|
||||
899,341 -> 677,341
|
||||
66,981 -> 878,169
|
||||
68,24 -> 984,940
|
||||
12,880 -> 23,869
|
||||
779,514 -> 779,752
|
||||
878,641 -> 949,641
|
||||
264,919 -> 229,919
|
||||
213,281 -> 213,196
|
||||
538,149 -> 538,278
|
||||
184,478 -> 364,298
|
||||
301,136 -> 923,758
|
||||
559,266 -> 559,986
|
||||
384,37 -> 384,558
|
||||
815,529 -> 800,514
|
||||
33,80 -> 624,80
|
||||
561,261 -> 215,607
|
||||
169,944 -> 169,921
|
||||
673,42 -> 164,42
|
||||
820,977 -> 424,581
|
||||
816,29 -> 802,29
|
||||
374,924 -> 121,671
|
||||
962,555 -> 426,19
|
||||
982,199 -> 860,77
|
||||
334,62 -> 359,62
|
||||
960,785 -> 260,85
|
||||
681,280 -> 860,280
|
||||
184,925 -> 184,30
|
||||
332,398 -> 858,924
|
||||
405,270 -> 218,270
|
||||
261,846 -> 29,614
|
||||
591,941 -> 591,716
|
||||
313,502 -> 313,637
|
||||
930,259 -> 779,259
|
||||
432,15 -> 566,149
|
||||
51,182 -> 223,182
|
||||
603,536 -> 603,281
|
||||
139,703 -> 825,17
|
||||
965,22 -> 55,932
|
||||
389,608 -> 771,608
|
||||
209,617 -> 923,617
|
||||
769,672 -> 769,236
|
||||
163,717 -> 638,717
|
||||
801,604 -> 136,604
|
||||
974,881 -> 110,17
|
||||
187,226 -> 929,968
|
||||
430,949 -> 473,949
|
||||
899,279 -> 899,224
|
||||
964,806 -> 964,876
|
||||
635,190 -> 349,190
|
||||
142,656 -> 142,216
|
||||
740,814 -> 35,109
|
||||
588,956 -> 534,956
|
||||
107,968 -> 707,968
|
||||
787,639 -> 787,50
|
||||
964,491 -> 964,148
|
||||
30,70 -> 30,323
|
||||
30,905 -> 806,129
|
||||
592,419 -> 91,419
|
||||
73,87 -> 973,987
|
||||
540,683 -> 540,139
|
||||
422,107 -> 422,90
|
||||
935,74 -> 935,590
|
||||
728,566 -> 188,26
|
||||
839,313 -> 839,620
|
||||
723,898 -> 723,719
|
||||
679,814 -> 679,617
|
||||
203,633 -> 417,633
|
||||
36,812 -> 546,302
|
||||
112,316 -> 598,802
|
||||
798,773 -> 989,964
|
||||
914,69 -> 520,69
|
||||
213,556 -> 213,19
|
||||
795,516 -> 795,220
|
||||
348,803 -> 664,803
|
||||
910,861 -> 238,189
|
||||
633,691 -> 594,691
|
||||
96,166 -> 96,60
|
||||
278,848 -> 854,272
|
||||
64,370 -> 64,815
|
||||
386,196 -> 386,222
|
||||
888,330 -> 888,834
|
||||
166,482 -> 37,482
|
||||
594,283 -> 594,865
|
||||
515,267 -> 515,448
|
||||
707,279 -> 239,747
|
||||
302,745 -> 302,268
|
||||
210,830 -> 885,155
|
||||
592,180 -> 592,324
|
||||
245,154 -> 245,613
|
||||
607,954 -> 545,954
|
||||
854,951 -> 19,116
|
||||
77,878 -> 963,878
|
||||
759,585 -> 759,892
|
||||
750,918 -> 750,130
|
||||
62,716 -> 329,983
|
||||
785,880 -> 785,590
|
||||
318,794 -> 318,599
|
||||
403,547 -> 719,863
|
||||
742,803 -> 742,937
|
||||
680,579 -> 680,425
|
||||
268,404 -> 826,962
|
||||
425,959 -> 710,959
|
||||
406,823 -> 976,253
|
||||
359,361 -> 165,361
|
||||
276,861 -> 657,480
|
||||
74,260 -> 743,929
|
||||
194,129 -> 194,651
|
||||
879,835 -> 65,21
|
||||
16,977 -> 980,13
|
||||
538,525 -> 624,439
|
||||
985,789 -> 985,510
|
||||
699,850 -> 560,711
|
||||
301,48 -> 477,224
|
||||
28,938 -> 905,61
|
||||
844,530 -> 793,530
|
||||
286,325 -> 936,975
|
||||
368,122 -> 677,431
|
||||
924,153 -> 924,774
|
||||
783,498 -> 783,148
|
||||
250,392 -> 578,392
|
||||
465,345 -> 573,345
|
||||
860,763 -> 860,40
|
||||
373,226 -> 599,226
|
||||
169,562 -> 169,292
|
||||
408,123 -> 569,123
|
||||
510,396 -> 733,396
|
||||
199,20 -> 199,770
|
||||
892,631 -> 237,631
|
||||
671,863 -> 705,863
|
||||
141,530 -> 141,630
|
||||
467,159 -> 367,159
|
||||
729,501 -> 255,975
|
||||
578,871 -> 578,225
|
||||
821,363 -> 821,820
|
||||
@@ -0,0 +1 @@
|
||||
1,1,3,1,3,2,1,3,1,1,3,1,1,2,1,3,1,1,3,5,1,1,1,3,1,2,1,1,1,1,4,4,1,2,1,2,1,1,1,5,3,2,1,5,2,5,3,3,2,2,5,4,1,1,4,4,1,1,1,1,1,1,5,1,2,4,3,2,2,2,2,1,4,1,1,5,1,3,4,4,1,1,3,3,5,5,3,1,3,3,3,1,4,2,2,1,3,4,1,4,3,3,2,3,1,1,1,5,3,1,4,2,2,3,1,3,1,2,3,3,1,4,2,2,4,1,3,1,1,1,1,1,2,1,3,3,1,2,1,1,3,4,1,1,1,1,5,1,1,5,1,1,1,4,1,5,3,1,1,3,2,1,1,3,1,1,1,5,4,3,3,5,1,3,4,3,3,1,4,4,1,2,1,1,2,1,1,1,2,1,1,1,1,1,5,1,1,2,1,5,2,1,1,2,3,2,3,1,3,1,1,1,5,1,1,2,1,1,1,1,3,4,5,3,1,4,1,1,4,1,4,1,1,1,4,5,1,1,1,4,1,3,2,2,1,1,2,3,1,4,3,5,1,5,1,1,4,5,5,1,1,3,3,1,1,1,1,5,5,3,3,2,4,1,1,1,1,1,5,1,1,2,5,5,4,2,4,4,1,1,3,3,1,5,1,1,1,1,1,1
|
||||
@@ -0,0 +1 @@
|
||||
1101,1,29,67,1102,0,1,65,1008,65,35,66,1005,66,28,1,67,65,20,4,0,1001,65,1,65,1106,0,8,99,35,67,101,99,105,32,110,39,101,115,116,32,112,97,115,32,117,110,101,32,105,110,116,99,111,100,101,32,112,114,111,103,114,97,109,10,281,282,677,25,264,2,413,1654,100,68,1111,667,281,128,172,188,4,432,250,232,1282,773,24,1182,33,200,989,148,179,108,208,330,152,227,597,517,1205,489,342,98,287,375,413,385,419,115,42,1363,425,1104,1869,362,111,985,1028,192,504,381,58,634,391,174,125,23,39,255,1437,198,259,154,1644,1275,250,444,122,71,697,184,594,307,694,177,131,269,1780,592,678,128,33,41,541,132,241,883,82,498,1008,153,985,127,801,78,137,128,68,69,180,833,250,1476,127,439,1856,276,58,1785,520,1214,749,429,126,576,9,184,578,1173,83,896,475,23,183,108,532,1114,775,748,422,577,758,1365,97,726,118,206,283,485,798,338,459,954,361,205,30,736,65,94,857,986,452,273,210,1551,354,91,26,60,1691,391,163,132,833,52,629,309,261,148,328,17,604,309,907,441,361,104,190,434,246,295,223,141,239,662,682,494,467,185,1,236,367,125,139,1289,657,279,238,482,512,1498,3,1297,148,548,1053,277,400,713,33,140,227,408,1,1592,219,805,538,535,567,703,939,662,546,993,552,341,144,396,922,324,662,82,142,320,859,369,28,106,741,254,389,483,680,1317,3,177,46,1461,53,1516,858,993,968,1325,4,4,175,303,126,847,754,1129,993,79,67,1381,766,470,1324,726,48,26,703,5,1002,102,1839,236,370,1005,855,262,1018,325,3,681,397,1420,1163,155,961,452,512,112,222,39,435,64,746,185,151,397,1648,315,381,25,1053,151,280,230,602,130,173,784,664,129,625,114,405,773,191,116,1017,1401,16,47,72,192,88,68,802,446,479,7,347,167,35,713,74,404,628,283,920,402,1173,273,436,671,1544,149,278,331,766,888,10,567,53,138,10,132,1273,266,270,305,93,1649,86,3,224,79,1188,609,1107,308,1525,159,895,911,824,1135,560,43,436,1225,1332,57,245,90,1057,814,54,68,168,9,190,572,916,42,330,500,310,1269,583,27,482,399,361,706,1109,252,433,851,137,1081,118,107,254,1062,640,1284,297,379,177,268,230,1148,727,829,129,51,808,223,559,14,155,189,1050,931,1069,927,73,594,44,1049,32,253,1621,134,263,5,926,339,141,220,1330,319,408,722,611,0,303,680,323,502,373,46,61,3,121,263,346,88,39,1084,297,822,468,764,138,161,449,35,1162,1308,312,694,207,921,330,1621,302,707,378,612,7,3,1595,1075,915,171,370,516,115,157,340,603,984,239,2,266,1501,129,110,1272,1105,221,431,1002,455,1204,595,914,1396,59,1576,260,446,1898,584,18,204,66,920,526,0,1199,290,1275,12,14,187,818,448,1015,442,292,1019,383,1217,17,228,214,778,53,148,68,388,15,496,310,428,186,18,206,104,760,790,408,1652,95,1351,325,144,73,1301,1085,29,967,342,656,428,533,67,1252,365,130,49,457,34,808,88,47,803,125,291,558,457,160,1157,1410,90,215,638,1009,446,698,1102,171,1736,878,115,1195,1453,261,121,1,59,56,295,368,646,1220,73,370,555,27,94,186,1536,1527,641,8,626,44,86,266,0,110,329,278,777,1839,20,651,435,172,4,144,617,48,201,751,440,231,0,686,1550,605,208,0,10,613,552,788,183,18,71,119,705,223,17,645,77,83,1342,1671,561,499,836,247,678,923,205,69,69,353,242,114,97,132,234,245,364,40,1061,117,665,183,192,448,283,593,71,208,1537,386,35,434,840,462,27,458,347,293,93,288,250,753,536,1317,124,968,937,503,305,19,24,638,560,488,254,1556,748,86,551,972,1675,28,175,1008,607,263,19,446,566,316,236,1577,0,802,340,526,778,763,41,489,1225,145,116,1,1556,221,703,624,33,74,1404,869,574,190,326,646,33,582,1212,703,76,97,54,41,127,48,309,556,10,356,1028,306,712,193,325,81,100,1414,107,81,1150,339,70,346,523,250,265,104,1302,797,499,829,455,591,170,1339,60,1312,631,665,530,95,348,36,1122,1334,775,54,819,604,759,708,139,1394,481,683,26,66,177,54,318,33,1714,43,801,121,384,560,658,50,159,1835,333,232,203,449,221,659,160,83,93,1176,1170,279,265,907,617,45,342,104,723,1027,697,494,952,494,820,90,462,208,1596,513,24,192,438,138,132,2,566,324,826,444,866,1038,851,629,646,48,334,258,14,571,963,458,62,208,233,31,368,884,207,88,682,118,634,1277,51,352,90,194,323,99,24,138,82,501,1084,403,270,638,401
|
||||
@@ -0,0 +1,200 @@
|
||||
ecfdbg decfba aegd fdcag fagecd gd gcafb efdac cbgeafd dfg | bgacf afdebc fceda cabfg
|
||||
cfdabeg cda bcgad bedfac aefbgd bfgcad dfbga egabc dgfc cd | gdbefac fgabcd dcbefag aedgfb
|
||||
aedbfgc gcaf ebgfca bca edgcfb adbge gebac fbegc ac afdcbe | ceafbg acb egbad gfaebc
|
||||
gaeb cafdbg aedfc ecfgdb ab cdaefgb cgbdae bdecg cba eacdb | gfacdeb gabdec begcd adbce
|
||||
fcbgea fbedg bc cbefg befgcda cfgdab gbc efdgca fecag aceb | faecg cb cb fecbga
|
||||
fdebcg bag gdefa ceadgb fcab ebagfc ab fbegc fcaedbg fbeag | cfegb bga edfga fgbec
|
||||
fg fcagb dfgceba edgacb fagd gfb dcgba agcfdb gecfbd ceafb | facgb fbdcge gf gfabc
|
||||
eabfd dfb gbcfad ebdag fagbce gefabdc edcf aecfb cbdafe df | egbcdfa afdebcg aecfbd acefb
|
||||
fbaec bfegad bga deacbg gb fbdg acgdef deagf fgabe gabecdf | fgdb gefba gcdafe bg
|
||||
bfdea agfbc gbd faecdbg gd efgd cdgeab efadbg faebcd fabdg | cdbgea fged cfabed bgd
|
||||
gfedac cgaef gab ceba ba afcdgb gdefbac fegbd bafeg abcgfe | gcbadf egafb ebafg ab
|
||||
bgda agfcdbe agfde faegb baedgf fcdaeg fdbeac ba bcegf bfa | bcefg eagdf ab bacefd
|
||||
dfgbac fdcaeb cbgeda bfdea dcabf ebadcfg gfbea dbe fecd ed | ebd cdfe bgeaf cdbfea
|
||||
efdba edb eagbcd bacef bd bcfd becfagd begcaf cbaefd aefdg | fdage edbgac cgaebd bed
|
||||
gfecbd gbadf fabged gbf cbdage fagcd feab edgcbaf fb aedbg | agdcf bgfda afdgc afdgb
|
||||
gfaedc caefb badcfge dgfe acdgbf eag eg fgacd gecfa ecbdag | acdbgf cbegad cgdaf eag
|
||||
gfebda fgacd dfbag bg geab gcbdeaf eacbdf cedbgf fbg abfed | aedfb gb eafdb dbafe
|
||||
ebadfc efdbga bega fdgcae dbgaefc edfab fag ag dagbf cfgbd | efacgd dbefag fadebg bgfad
|
||||
bf fbd cgbdaf dcfbae fgbcd gcbadef gafcde bfag cebgd dcafg | afbedc gcdeb fbgadc dbf
|
||||
gfecab fageb cgb acgeb gdfeab ecbafdg gfca aecbd gc edcgbf | afcg cedba aecdb cgeba
|
||||
cdge abfdge cgfeadb bdc gbacd cd cdaebf bgeda cgdaeb acfgb | baecdg fcbag dfeagb gcde
|
||||
efabdgc ecafg dacgbf ecgfd dfe gbfdec ed bedc cfdgb gedafb | egcaf cfgae efcgd de
|
||||
bfagdc dbagef gbedcf afdeb ab edgfb gdebfac fdeca baf eagb | bfa bgadfc adcef ab
|
||||
cfdbae dgefc fcaeg geafdc dfag fd cegbd daefbgc cfd cefbag | efgcd cgdfe cefdg cdf
|
||||
cbged feabc fdgb egf ecfdbg dfgcea gabfdce ebcdag bgefc fg | fbgec bgdf efgcbda cbedg
|
||||
ebcdfa ef cfe cadbfge becfd dgbeac dafe gbdfc cefgba ceabd | bfcaeg gfedcab acbfge fe
|
||||
fbdage bf acdgb cabf gcfed gdcfbea fgbdc fbd fcbadg bgedca | bcadeg bf facbdeg gdabef
|
||||
gfacdbe fga gbdaf gadbc dfeagc fg bcgf eacgbd acdgfb debfa | gdcab agcbd dafbecg gfa
|
||||
gadbcf badfe bae cfaed abfdg adfecbg eb bedgaf ecfagb egdb | bdaef egfdcab eb be
|
||||
dbgecaf gacd dfbac dbaefg dba bfgced cafbdg cbfgd faecb ad | degbcf baegdf gaedbf dfegbc
|
||||
afgcd dabgf gedfba agc bdfgac gdefc bcaf cfeadgb ac ecdbga | gfadbec fgcda edgbac fbagd
|
||||
acbegfd cgeb dagbef gbaed caebdg gc dafgec adcbg cdbfa gdc | bdaeg bdfac bdfac bcgad
|
||||
gfab agfbde fa edbgf cbedfa decga cdagefb degbfc egfda afd | daf fa afd efacbd
|
||||
caegdbf daefg fbgac be fgaeb cbea bge cdfagb dgecfb abecfg | gebaf aceb gfdecb befga
|
||||
efcgda bd efgdcab afbec bgcd fdagc dgabef dab dafbc cfdagb | dba dcgb ecbdfga abfcd
|
||||
abdge fd fda fecd bfcage fecdba fdgbcea afbde acdbfg cfbea | fedc fced adebf fbacde
|
||||
acfdbe egcadb gfbacd acfbd bagefcd bgfa cefgd gac cdagf ag | ag bcadeg dgcafb cefdg
|
||||
eabdfc fcaeg fecad bcfda dcfbge ebda de ced fdacbg dfbcega | gcebfda gdecfba dbgfec defca
|
||||
bfc gdfceb cf eafgbd edcab ebcfa gfeacb acgf adcbgef fabge | bafgecd fgabe aegbcf badec
|
||||
gfbc gaced fg bfcda fgd fcgad dgefbac bcafde dgcfab edgfba | bcgf bdceaf dbfaec bdacf
|
||||
acbdgf dfcgb dcfeg egbd aedfc fcebag ge gef cfegdba fgbdce | gcbfea fceda dcfgb dfgbc
|
||||
agcfd fga fecda gadebf dbgcfe fcbdga dcfgb ga gbac cbfgead | fdeca gbcdf cfdgb afg
|
||||
eba ebdc gbefda dcbegaf fbaced afgec be dcfba ebacf dfcagb | eb eab bea be
|
||||
bfcge bfead edgfacb edcfag abegfd becdf dacb cd cde bfdcea | adefgc cdab fbead dcba
|
||||
bacegd gafcbe begfa bcfad ed gedf ebgfda bdefa ead fegdbac | geafb fedba dbcage egdf
|
||||
df fbgdc fcd bfgce abfd cdfgba cgefad cgbad ecadgb egbfacd | bcdgaf cedfga dbgafc dgfbc
|
||||
dfabge bcfdg egfbca bdaefcg decbfg ebfgd fgdca cb cbde cbg | beadcgf dgacf adfgc bc
|
||||
fgda dafecgb egdbf gef dbgec agebcf gf edgafb fcaedb bafde | fg fecdab bdefg bgfde
|
||||
abfgecd eabgf fcdabe gbdafe acebg dfecgb gf gfb fgad dafeb | efdacb efadcgb dagf dfabe
|
||||
ceafbg dfcabe gcfea gbac fgead gc cbdgef egc aecfgbd cefba | badecf badefgc bfaec cbeaf
|
||||
cadfb caefbd cbfega fdbga cad dc edbc aefbc egbacfd dfgeca | cefdab cdfage bacdf dbafc
|
||||
gfcb cf ecafdg fcbed dfbagce fbgeda gdfbec cef eacbd ebdfg | gbdaef caedfg cf gbdefc
|
||||
gd cgd ebdafgc cfbega gcbfde bcfdg badfc bgaced bcefg gedf | gfed fcbgd cdgfbe cfbeg
|
||||
bfga dabge befacd agbdce fb aegfbd fcged dbegf ebf ebgdcaf | bagf ecfdg fbe bedagc
|
||||
beac ea ade gefcd ecgbad cbagd badgcfe ebfgad acgde gcfdab | ea gceadb gcbad cbdga
|
||||
cadfbg bcgafed cbedf afeg abegdc adf gedca efacd acdgfe fa | daecg fdecga edafc adbgce
|
||||
egd ed egacd cgabfed efcd degfca dagbfc dcagf bgfdea abecg | dge egcad ged cgdfa
|
||||
cgdeaf fcbdeg fgc dgcea cadgbe abdcfeg gf cafbe gadf cfega | aecgfd bfaec gf dceabg
|
||||
caegd cbfgae dafg egd gd ecafg gfabdec cafdge bacde bdfecg | gedfcb edcagfb cdega becgfd
|
||||
badgfe ed dcge fgdceb cebfd cbfedga dabcf efd ecgafb cgbef | dgec dfe ecbgfa cebgaf
|
||||
dgabcef bcd cfeadb degfca bgace gcebd cegfd gbdf bd begfdc | acbeg dbc gdfb gfdb
|
||||
edafgb bagf acedb dbg fcgdabe bcdgfe gb bgead dfaecg faged | gafb dgafeb gbaf fadegb
|
||||
bc abcegf bfcgd gdcbef dcbe gcb cafegbd aegdbf dfagc dbegf | cbg cbg cfedgba dgcfabe
|
||||
be ecgbf cbafg ebg bagedc fbae degfabc fgcdab dgfce cabfeg | gfcde dgfbca dcabgf bacegd
|
||||
af dbacge efa abegfdc gfdce begcfa aecfg afbced fgba ecabg | ecadfb gfeca efa gefdc
|
||||
acbedg edfacbg begd cdfabe dagcb eacdb gfeabc bg gba dfgac | cegbaf ecfdba cgbda dfebca
|
||||
dcbgaef bca abed cbgad gdaec fecbag edgbca geadfc ab cdgfb | beagcd dgbca eabd ceabgd
|
||||
cgabe gfcbe cfegba fdbgc fe fdgebca aedcbg gfea bfdcea fbe | feb gaef badgec ecgabf
|
||||
afecdg dfbc cd dcg aegcb baedgf becgd becfdg eacgbdf ebdgf | gbedf edgbf bcdeg gfadbe
|
||||
gfdba adbefc ebcdfag bcgaf bfdaeg dg adbfe egbacd bgd dfge | gbd bgd bcgfa fbgad
|
||||
dfaegb fe bcgde face afgbdc acgebdf agfcb cgbef fcgbea gfe | acef afedgb bgdfcea fgedab
|
||||
abdcef gdfea cbaef gaefb cagebf agfdbec agdbfc ecgb fbg bg | aebfc egcb acfgbe gebc
|
||||
bcf gbadec bf bgaf fcdea cgbda gebdfc dgefcab fcabd bdagcf | edacf bf cfb gadcb
|
||||
cdafgb bgdf gacefd cdb bd ecfadbg cdafg cdebag bfadc ecafb | bcefa cfdba agdfc fabdc
|
||||
egb dgbf bgdeca febag fbadge ebadf aecfg gb geacfdb fbacde | fdbg bg caegf egfab
|
||||
ac eagfbdc bgacf cbdgae gabdf acdf gdfaeb acg dbgafc gbfce | gdbeaf agbcf dcbagf fgadeb
|
||||
ef eagf bfegcd gbaefd fbe eafbd dagfb abced agcfbd abcefdg | ef ef ecdgfab deafb
|
||||
fdgbc efbgd aedbg dfce bcagdf fe fegcab cdgabef efg cgdfbe | efgcdb efg agcfeb dgfabc
|
||||
fe dbefgac baegc eagfc ebgf acdgf aedbfc bgafce cef bcgdea | agbdce aecbfg cdgaf ef
|
||||
fbgcd bdf dfbega dfcga abfdcg db dabc cfebg feadgc ecgbdaf | fcbeg gcdfb cgbdf acfdg
|
||||
bac cdbeagf abfd bcfea edcfba abdcge edacf gcbfe gcdefa ba | cegfb cafde ba fegdcba
|
||||
gcabfd acdg cg gfdbcae ecbgfa cbg bfegd gdcfb cedafb fadcb | cgfbd cfgdb fdegb cg
|
||||
fcdaegb gdefcb dgfacb dcgea eb dgcbf afcegb bgced bdef bec | ecdag eb befd dabcfge
|
||||
defcb eabcf bca abfeg ac cafbge gfac dbaecg fcbegad bagedf | bfgae cfga ecabf aegbcf
|
||||
gdcfea adgcf cbged bgadfc gbf gfdbc cfegdba bcfa bf dgaefb | fgadc bfg fb bf
|
||||
bdgcaef adg egbca cdabg eadbcg eadc cgdfb efagbd ad ebfagc | da dace dga gedfab
|
||||
cade afgecd fgedc cbaegf efbgd gdfcabe ce fec cadgfb dcgaf | ce adefgc cdea fce
|
||||
efgcba ged gcdbea acgeb decag cdgaf egbcafd bdae fgcbed de | adeb edg cgadf agdec
|
||||
agfce af febgc ebgadc cadeg dafg faegcd bceadf bfaecgd efa | egbcf fbgec acedg af
|
||||
cbgdae debcfa becadfg agecb gcde cfgba ce begda bec fdaebg | bec eadgb eadbg badefgc
|
||||
bagedf ecf ec dbefc cbedfa edca dfbcg edbfa eabgfc aefgcdb | fec dafebc cfe aefdb
|
||||
aef bface dabefg ebfdgac caeg bgfac fcegba fcbed ae cfgbad | efcba baefc afbcg gbcfa
|
||||
dfeca fdagcb feagc adcbef fg gefd cabge fgdbace cegadf cgf | fg decfab cfdbga baecg
|
||||
gbaefd agedbcf cagbe fb cgbeaf baefc bfgc bgeacd efb dcfae | gcbaed fb bgfcae bcfg
|
||||
cegf bcedg bgacdef gbedf fg ebadf ebgdcf dgcfba debgac bfg | bdfgca bgf fgdbce becfadg
|
||||
decafgb acgbd fegdab cefag dfcga gdf fd aecfgb dfecga cefd | gcebfa fgacbe fgbdae fcde
|
||||
faebc acb bdfgca afgedcb ab daeb fcbge afcebd feacd cafedg | fbgdca ab afedgc ceafbd
|
||||
gfeb ebgcdfa dfgca abfdg agebd bf abf bceafd dabgce dbfgae | fgeb gadbf gcafd bf
|
||||
ecbdfg gecdfa efcadgb ebdac deabf fbga bf dbf efagbd dfgae | adfbe cfdage efdcga gfab
|
||||
fg cedbgaf feacbd dafgeb fag gfecba acgde febac cfega fcgb | decbgfa fg ecgad afdbgce
|
||||
cfbgde aegcdf daefbc dgceb fcged gafdecb cbfg bc ceb gebad | dafecbg eagdb bec begdc
|
||||
cdefga fbgcade fgdca cd bafdec adc dbgeaf cafgb efgda cegd | afcgb ecdg bcfag caedfg
|
||||
agfbc af deagfbc fecbg gfa fcegbd cfae bgafec edagbf bcadg | agf ecfa becfg af
|
||||
bdgf afceg adcfeb egbaf afgbde afb fb cegbfda daebg adgbec | fba ceadgbf bf fb
|
||||
efgb eg aecbd ecbdg daecgf dcgfb fbagdc egfadcb gce ecbgdf | afbegcd fegdac cebad bgafdc
|
||||
acgbd eb dbace bdafgc fabdge bceg gecdba edcaf aeb bagcdef | fdgabc fegadb dgbcfea egabfd
|
||||
cadfgb acefdg fcb fbea fb ebdfca ebcdf degcb dfaec cbdefga | aefcdbg cdegaf gdbec dcfae
|
||||
fcdab edc cfeb gdfcae dcaeb ec gdcbaf fdcabe debga efbgadc | fcbe gbaed fcaedb acedgf
|
||||
gb gefca acbfge bdgaecf bfcag bdfca abg aedfgb gebc agfecd | cgafb ebcg aecfg efgbac
|
||||
dgabcef fbdgea fb cdbf cebfg bdaegc dgceb egcdfb bfg acgef | cbgde faegc befgdca cbdf
|
||||
cfaebdg fg fgcead agedb fge ebcdf gebdf dfeagb dbgace fgab | gfba eagdfcb dcabeg cegafd
|
||||
fbe egcba bgefdca bgdafe afdgb fdbgac dgcbfe fbega defa fe | ebf egafb fbgdac egafb
|
||||
gdc acfdeg geabc dbfg dabcfe dbeafcg dg bedcf edcgb efcbdg | agcefd cbdfe dg bcedf
|
||||
bafgcd febdgca abgcf bcgea be edgac aeb cbef afebgd ecgbfa | bea eb ecfbag abfcg
|
||||
cdae cbd gacbe fcbdge cefbag bagcde gcabd bdafg dc fdgebca | cegdfb gbeacd cd cabdge
|
||||
dac dfgae fcdabg agbc dcfbg gfedbc fadcg bfaegcd ca eadbcf | cfabged ac cbag dfceab
|
||||
egbdcf bdeagfc aegcb bafec fdceb edgafc caebfd aef fbad af | efa adfcbge dfba ebgac
|
||||
ebadg fcaeb dc acdg becgfd adecgbf dbc dbeafg dbaec bedagc | cdb bdc dc aecbd
|
||||
cfaegbd agbdce edca badgf edgfbc ebagd ed gde aebfgc ebcag | cbeag edca gdbea fbedgc
|
||||
fgb dfagceb cabgdf gf afge ecbaf deabcf cbdeg bgefc gfceba | bgecd gf bacef fg
|
||||
abd fgcdaeb gfeabc gdfacb fcbea faebcd dcbeg badce ad dafe | adecb gfaebc fdcbga aecdb
|
||||
fcgdeab eabgf feagd dge dg cdaefb acedbg cdfg gcaedf efadc | cfade cbeadg bgfea dg
|
||||
fegcb fcedag badgce fcbdgea afg gafeb af dbgefa degba fadb | fbegc fabge af dcgabe
|
||||
abcdfg dcbfea bagd cegfb bd dbf cgafde edgcbfa fgdca bcdfg | fdabce gbcfd cbefda ecabdf
|
||||
afgbd fbgde dcfageb ag gba gfdcab eadgcb cfag daebfc cdbfa | ga ag bdaefc ga
|
||||
egf ecabfd fg ecdfb cfgb cbegadf dgbfae begcfd agcde cgdfe | gbdefa fedgc cafedb cfdge
|
||||
bafcdge dgbace cgbad cdafe bedcfg be abge cebad dcfabg bed | dbe gabfced cgbedf cbadg
|
||||
becagf fdec debafc afedb adbgc bgdfea dabcf cf cabegfd afc | bagdc decf fca dfbae
|
||||
dcagb gfcade cgdebf fdbeag gdfeabc efdcg ecfb deb egbcd eb | eb edagbf ebfc eagdcf
|
||||
ebcdaf fgdc gbeac dgfae efadbg cd gcefda dgace fbgedac cda | aegdc dfabge gcade daceg
|
||||
fgdcb adceb fcgeabd acedbg af fba aebgdf efac dcabfe adbcf | cdbaf cgeadb bdcae bfgaed
|
||||
fcb fc fcdgb dabfg eabcfdg cbged cefg begdca gcdbfe efdacb | ecfg fabgcde gdecbaf bacged
|
||||
gfdabc ad bdfgea fegbdac gbaecf bfega adg adbe afged egdcf | dcfgab bgcefa gad gafcbd
|
||||
bgdcfea afb gabfcd adbfeg efdba bgdfe dfgbce eafdc bage ab | ab dgefb baf bgaedcf
|
||||
geabd adecfgb cg ebcdfa agfbdc fdcg dabcf dcbag faebcg cbg | dagbe fgdbeca cbagdfe fcbeda
|
||||
bdfa dafbge fgedb bfceg bdg afdebgc bd bdaecg defcga gfdea | bagfdce dcgafe fegbc dbegca
|
||||
aedcgb fb gdbaf dgabe acdfg fabgde fadecgb gbf edfb facegb | agdcf badeg fb fabcge
|
||||
dfbce gafed ba eagb gfdbca aefdb fecdag fagbedc abf egadfb | eafdb edfcbag dcfbe ba
|
||||
afdec fcegda edgabc bgdfc faebdc ba bac dcfebag fadbc fbae | deafc acb fbgaecd cfdea
|
||||
gecd dgf eabdf gd gfdeb fgcadb gcbfae cefbg cedfbg cfeabdg | gd edfba fgbce fbgec
|
||||
adfge bcgfde baecg dcfgaeb bafdge gdeac dagcef dc cdg acdf | cgd dgcae gcead cd
|
||||
efgac agbfedc aecbfd agbfde dcbg fdbag gacdfb bc fgbac fbc | bc afdegb bgdc edbafg
|
||||
be cbfgad acegdb agefd dabgc cebfgad gbce bdega dfbace bed | bagde eb egcb edfbac
|
||||
gf fag afgbe ecbaf geadb eabgdf egdf dagbfc ecagdb cbgdeaf | cbefa fg bdega gfacbed
|
||||
bag defba gcfdae cgbd gb eabgfc gcfabd dfagb gcdfa ecbgfda | begacf agb cgfade fcdga
|
||||
adgfcbe egd fgadeb cgbdae acdgb cgedb deca de efcbg acbdgf | cfbdag dcgba geabdf eadc
|
||||
cagdebf dgebcf edc abecfd egfadb fabed ec gadbc efca dabce | dec fbadec debac edc
|
||||
fcedg dfgbae eg deg egcb fgcebd efacd gfdcb gbfecda gdafbc | efacd ge cfgabde fagecdb
|
||||
dbag aefcbd gbc gcdbf bdcfa bg dfabcg ebadgcf cfgeba dgecf | bfaced gedcf dbag cgbdaf
|
||||
cdgfbea gd bdag gebca bdcgfe dgc fcagbe gabedc afcde cdaeg | abgcde ebcga dagb bgcefa
|
||||
cedgbfa ecabgd cdafeb bafcg cegdbf cae gdae gabce ae edcgb | aec cageb ecdgfb egda
|
||||
eacgbf afbdg gdecaf gafbcde gfc baefc bcge fcabg fdcbea cg | agfdb cgfba bgafc eacgdf
|
||||
fgebd fed bfea cbdeg decfga fe cfdgba defbgac dfgba afdbeg | fgdba abegdfc bcadgf fbegd
|
||||
adbfcg fagdbe bagec dc fbaedcg bdfag gbdca fcgedb dcfa cgd | fcad bfdgae dgc eagbc
|
||||
fgbaecd fgecd cafeg feacbg fdgcb fgaecd acdbge ed adfe dge | cfgdb gcedf deaf cfdbg
|
||||
gedab afdcbeg decabg bfedcg dgefab ef aedf cfgab gbaef efb | abcgf cabgf feagdcb cdbaefg
|
||||
fdb ebdgfc bd adefgcb efgad gbcd dfbge afcgeb fecgb dbeacf | bfd cgfdeba cafdeb gedfa
|
||||
abgde bdefa fagdbe fbadceg dgecab dfe ef edfgca bfdac fbge | fegb cagdeb ecdgab bdagefc
|
||||
febad bacged fge cdbeg cfebdag fgdc gf debcgf bdefg cfebga | fg egf beafd efg
|
||||
agdcbf bdefcga cbgefd dcagb gbedac faedc gfc bfag gfcad gf | bgfa dbagc bfgdca bcgad
|
||||
bdce gafbed gaecf bcefdag gbc dacbeg fcbgad egdab cb cegba | eadbgc cb ebadgf debc
|
||||
ac afgceb eagbf befcagd abcg degcf aefbdg ceagf edbacf acf | abecgf bgac gacb ceadbf
|
||||
abcg fcaeb gfdcabe ab befdc cfage gdbfea gecdaf efcgba bfa | bgac bcga cagb efgbda
|
||||
fbdeg gb fcdeb dfecbg eafgdbc edgfa eagbdc baedfc cbfg beg | adbgce dfcaeb bgfc abcged
|
||||
afg afdbec cbdgaf afcgedb bedgf cdagef ga afcdb gbca gfbda | cfagdb edcafg cbfgda bgfed
|
||||
edgafcb fdeab dgabcf cbgf gdfeac dgfab gdeacb acgbd gfa gf | gaf bcgf ecbagd agf
|
||||
dcbfa gfbace ebfca efcg bgfeadc abgce gbafde ef beadcg fbe | egcf fabdc adebgf bdcage
|
||||
gc cfdbe fgcebd bcgef ceg fdagceb ecadbg fgdc fageb bedcfa | adgcbe aefgdcb gabfe gc
|
||||
fgead bcdafg ba bcae edafb bcefad dbcfe cafbgde gbcdef adb | dcfeb gecdfb caeb bacdfe
|
||||
gfeab abc bc ecbf gdebaf gebac gdcea gecdfba acdfbg fbgcae | cbdagf gbcae bc edgbaf
|
||||
aecgf acbf cgadef fecbg bc ebc dcegba befdg aebgcf afdebgc | ecb bcgfe bgedf abcf
|
||||
fg facg efcagd eadfg cebfda feg daegb bdfcge afced cfeadgb | acdfe fgeda fg cdbegf
|
||||
gefda fed edfbgc fgeab cfad cdeag fd cebgad dcefabg fagdce | faegdc eafdg fd cgbfdea
|
||||
ebfad cf befca gabedc fac cabeg dcaefg abfecg fbacged gcbf | bfade fcbg fc cgbf
|
||||
aegbf cbdfega adbfg ef cebdgf dfcbga gebca fadgbe afde gfe | fdae afcbgd bgcedaf gef
|
||||
cdgab cg edgbac gbedfa gebcdaf dcebfg gcd degba aceg dacfb | gdc cgdba cdg gbadc
|
||||
daebfg fcebgad db gacbf feacdg gafdb eafdbc dgaef dfb bedg | cefdbag gedfca gafdeb befcda
|
||||
ecfd fcdgba cebgf fge bgafed febdcg cbfegad cabeg fe gfdbc | ecgdfb edfc gebdaf fecd
|
||||
fac gbeaf bcdga adgbcef febcda cfgba gefbda bagcfe cfge fc | gcfe gbcaf acfbeg acdgb
|
||||
afegdcb fdgba bfgacd fdcg fd cbfga adf ebcagf dcfabe gbdae | df bcaefd cfagb df
|
||||
cdbgef bgef ge ged badec agfdcb adgecf cgdeb cbgdf fdbceag | dcfgb gcebd egbf dcegb
|
||||
dfbea gb cfgea bag fgbc debcga acdbgef afcgbe gfeba cfdaeg | beafd bag cbgf gba
|
||||
fdgcab cd ebdaf baecdgf cda bcgaf cfebga acebgd cbdaf cfgd | aegcfb cdgf cdgf afegbdc
|
||||
fcbga cbeagf dcabg da dfabcg bdaf begcd dca fdagce bcgfdae | acgbd dbceg acd cfbga
|
||||
degacbf cf dcgfba adegbf efgab gfce acfeb dbeca caf gcebaf | bacfe abfecg ebafc debac
|
||||
bcaefd gbce dcegfb gcbadf dgfaecb fbdce dgcfe cg agfed fcg | dbgfec gc acdgfb efbcd
|
||||
cdfag dgebacf bdfagc fba acdgef fcdab bfdg baedc gbfaec fb | cedbafg fb dgfeac cadbf
|
||||
bcdgf eafcbgd bd adfb dcabeg gebfac gcfba gfdacb fdgce bgd | cfbga fgcab db fcegd
|
||||
cdgafe deg bedfc dfgb cgdbe dg dcefba efdgbc cagbefd cegab | bgdf abfdec egd gedbfc
|
||||
bg febdca edgcb cdeab gbc edgbca gdab beagcf cdegf debacfg | bcaedf dgcef badg fecadbg
|
||||
dbca cgaedb gcfbe cea fadbeg gabce ca edcafg degab abfedgc | fdebag beacg abcd adcegb
|
||||
gcdfe adbfgec cbafge dgbaf ebf gfbced eb adcgfe becd fgebd | ecgfba gcbfde dbec cdafge
|
||||
dbgeafc dacbg badfge abfce ed eda dcfe decba dcfeab gfbeca | febcda defc beacf fdgabe
|
||||
efcd bfcadge fcdba egabf bfdcag dcefba deagbc fabed ed edb | gbeacd fdeab ebcfad fageb
|
||||
dcgf fegdab bcaeg dcegaf dga gd dcfbea fcdea aedcg bdefgca | cbegdfa eabcfd adfce cbefda
|
||||
bf edfbgc cegbf bcadefg ebf acbfde gcedf feadgc gbcae gfbd | feb dfgb egbcdfa dfegc
|
||||
efgba eacd efadcg dcgefb gacdf dbcfgae efd bgcdaf edfga ed | cfbgda dgcfa gcfead eadfg
|
||||
afgdc fbg cdgaef fagbdc bgcefa cdbf bgdaf bdaeg fb dgabcfe | dagfc cefagb egcabf fcbd
|
||||
cadgfe acbed cfabgde fdbcge cfga fad fdeabg fa dcaef dcfge | fad bafgecd cfegad adbfcge
|
||||
agdefc cfad bdgecfa gadfe aefgc ad ceadgb gbafce bfedg agd | dag ad fcage cgbafe
|
||||
@@ -0,0 +1,100 @@
|
||||
8656456789432129876532356789899998754320146789767893213468953205459323997678901997655423567797655667
|
||||
6545345996543234987321567896798749886531235697657999304989764312378999886567899876543212345679543156
|
||||
5431239879694349876432398945976532997782356789547898919898765434567988765456789997654323456789654345
|
||||
6520139768989556987543499239854321098993768996536587998789876597679876544245690198965654567899875456
|
||||
7631297657679697998756789349765432129654879797627456789678997698789997432136789999876765698969987887
|
||||
9799989844568989869897996459876543439865994599210235893459998899995986543545699888989876899458998998
|
||||
9898766532345678954998987968989675649876789987421346932398899942134987654676789767891987894357899999
|
||||
5999854321234799123459999899699876789989899876532457891987678991013498767898896556790198965456789899
|
||||
4598765310138921014968998799543987893298964989547598920986598989139999878999964346891249876597898798
|
||||
3459977731257893929899987578932498932127893499987699439877487568998899989998894234979957987989987667
|
||||
1349998643467899896798795467890239643456789989998789949765326489987688993986789124567899299878975558
|
||||
2498997654989998765987654356789349954677999878999899899874212378996577992975569012398965499767894346
|
||||
3987898775894359979879864236789998766789998767999998799763104569987456789864398923579896987656789235
|
||||
9876769986789469898765432045898889898999987658989987698654323779594357897953287899798789199867890123
|
||||
9965454599897698759979564157976778999549876547679997569976457899492166986541026678987679013979989245
|
||||
9895323457998987646898783298965767889698984328456789678998569978989234598632134567896589999989569346
|
||||
9789912345689865435789894369893453978987653212359899899659698767878945987654346889995459887694458956
|
||||
4567895456792979524699965456792012367998864434578956999543987654667896899865456799984349765532347897
|
||||
3458976569891298912349876768943224459899976646789643598759876543456789942987869899873298654321236898
|
||||
4567898678932987899457989879654569598765987757899656999978965432346789321098989998764459876434345789
|
||||
5678979989743976798967899989975998949654598868998979889899976321245678993129894329878689999545457890
|
||||
7989467999654984676978979995989877929012679979987998775667895452356799789298789212999894298956567891
|
||||
8992346898795993235899767894598765698934567899876798654356789673459895678999678923457996987899678943
|
||||
9321456789989892124688956943987654567896989998754987654234678984578954569987546894678989976778999894
|
||||
5432357899877789013467897899876543458987999986543499875345689875699875979876435689789976564569986789
|
||||
6643567998765678925678998921965432356899998775432986985456789996989989898986546798998765423678965799
|
||||
7656798989874567899789239939954321245689987654301995496677899989879998787897657956879876534569754589
|
||||
8799989878965678969899197898765534345796976543219876398889999976767987656789878945265987875678923578
|
||||
9988679769876789354998976989977545656895987654323981239995598765459987545879989432123498976799999989
|
||||
9876544346989992123987755678989656767976798765549854346894398853298766434568996553464569989895878999
|
||||
8765321235898765019986543567998787889989899876898765557995987632129854323799998779878978999964567898
|
||||
9865210756789654198764332456789898995499986989969886768989976543298765545678989890989989987653456796
|
||||
9954331987896543239954210167899949543298765497656998879876987655689876677899678941293293496542397895
|
||||
9878543499987654549865423456789434956099979987542109989765799876796997798975568932999101987921789954
|
||||
0987654567899765669876534667894329899989998699667825699924678987895498999544456899788992498932678965
|
||||
1298776778969896789987645789987498788778987579878434578912457899989399987732345987656789598753489999
|
||||
2399897889759997898998756899876569679567898434989545678901238998777989996543469898745578979767598977
|
||||
3989959999898789997899768965989698546456789023497676989893349897665678987674579764323499767978797866
|
||||
9879943209986577976789979554698987635349892144998989899799599786564567998799699987635789945989976545
|
||||
8967894398995456895678989323597654321298943359889998789688987655443468899987989996546899896799765434
|
||||
6456889987654329923499994312398987310987894498767899643567898543312356789876478987756789789899876323
|
||||
4345679298799498936567892101269876499896789597656978942456798652101235799985356899877897679998764212
|
||||
6456792139898967897678943242456987987685678976545767896599899964214546987876237978998943589987673101
|
||||
6597891098987856789989655443999998998534889995434456789678999876323459876432123467899532359876543212
|
||||
7989989987986537892198987679878999359676899876212347898789998765459698765421012346789643469988654357
|
||||
9875778976897429799097899798767893298787976998455456789897899887678789886532326459899864578998795469
|
||||
8734567895976535678986789999656932109899954597568567893956989998789892998693434667899975689659986778
|
||||
7623478997898545789765999978946893919976895698978879912345678999999953489784546899969876789545698989
|
||||
9537889429987667893986798767835679898965998789989989895456989988998764569875657894356997896432129699
|
||||
7545789512399878912498996553124598787996789899999996789567899876789897679997798965767998954321013578
|
||||
8657897623943989993569987431013987676789999998999875679679998685679999789898899999879329765432125689
|
||||
9767898939894599989689876548923976465678999987899754579999997544334989898789939879998919876654345678
|
||||
9879999898789798868999987857549875334589998965999843267899876432123778987679549967897899988765457999
|
||||
0989987656678987656999898967659854213699987954889954345913987621014569876578998756786989999896769999
|
||||
1995495434589998745799769879898762104789986313767895876799599737123498787366799546565679953987879989
|
||||
9896989213478999856987656991999873215678965301456789989897498976544987643245678931344567894599998767
|
||||
8789878923568998767897543210197654323489987212345789998996597899656799732124578920123456789999987543
|
||||
7678969894567899898987654321298776564599654323456799986579986798967899541013467894234567896789195432
|
||||
6569548789878999979898767435349987676678998764678919877498765677898987643144588986785798935691019541
|
||||
5478934678999298765789998576467898887789999875799101954329854356799099653234679997996799123899998652
|
||||
6569325466789398754679459988568989998999987986945919976598754245689198754556789998987893254567899768
|
||||
7678912345696497643496578998679678999249876597896898899987543134568979877667897899998919875678999879
|
||||
8889101236797989821989679999893479892129765439987987678998621012799456998988945697989323997899999989
|
||||
9993257345899878992978989987932356789934984321099934589987542133789349899399239976878934998921989892
|
||||
7654347867898768789767892196544577897896976439198755698999653234679298789210198765767895789999876791
|
||||
9987656789999654578957899987666798935679897598999978797849796546892987678921349864656899899989965689
|
||||
4698798898998767689437578998977899219789789987890989975435987698921097586893998953245699999878454597
|
||||
2789989997899898992126459899998954398998678956921298765424698789992975435689897965369789999967323456
|
||||
0299878876789939987012346789879895997879567897932398654313799996789987645796756896878999989654212359
|
||||
1998765655678921096543458993456789876565456789545459432102987435678999856965945899989659876532103498
|
||||
9898754434589432987678967912345678985434234698957897643219876323899899767893126788994345987678924997
|
||||
9769963124678943498789978901956789976321012567898998755698765439988799898941012767898659998799899865
|
||||
8754321024569654579899989219897898765462133456789239976999876598767678989432123456998767899987678943
|
||||
9865542147679765989999998998798929876873235578995346989899989987654557976553349567899879994598989432
|
||||
7987653267889876794678987657689012989989356789996459897689998698842346898764498978978998989989996521
|
||||
6699879879999987912459876543579934597699868996789598656579997569976456799879597899569987879979789632
|
||||
5420989998999998923468987632456895987434989865678987643456896434988968899997986965498765468967579544
|
||||
6532399987888999436567899854667989876425698954599986532397895423499879979996565894349876579656498965
|
||||
7683469885467997598798998768788979654214567895789997710145694312345989767986434689456987896432367896
|
||||
9794998764346789679919349889899868965323578976899865431236789103466797656975426896567898954521356789
|
||||
8999899653235678989401239999987654596654567897946976642345678994567898943976545679878939863210145799
|
||||
7898765432123499995319398989998768789785789989023497656466789789678989991297676789999329974321234889
|
||||
6799899843435689989498987878999878999897894569199998787978997678999878989398988997988998765433445678
|
||||
5679998656746797878987656767999989997959923478987899998989899789234569978989899656867899976587676799
|
||||
4598789767899896569876645456789995986543205589876545679998789890124879767566798745556789597698787893
|
||||
3286569898999954398765432367999764698996456991985434589988679932438998754375789432346993459789898932
|
||||
3123489999989654249864321278998653499889599890997595699875497653546799663234598921268932499991999321
|
||||
1012679999879953198765438989999767989778987649898989999954319865678987542159987992357921989432987990
|
||||
4323578988767893239879567899899879865659897435789879887895402976799999531098976789467899878949876789
|
||||
5434989976458994345998678958789998764349765324679664765986514987899976542987895678989998767895465977
|
||||
6565789993256789469899989345678998765239896213469543224998695698989987669876474788999987656789213456
|
||||
7679899864345896598754591257999987654345989304678942105789989999678998798765353567899986548678902878
|
||||
8798998979656789689643210456897899765769878913567893987899879896545999899986212368898765434579924567
|
||||
9987897898767998798754321567976788978998767894579954598999965689659898999875433456789976755989895699
|
||||
8656456789878939899896432378965567899892459965678967999789897799998767879976557677899988767898799789
|
||||
6543236989989921998989543599434458999751346798789878997668799998754354567987667789968999978987688991
|
||||
7654345678997892987978994678912349998540125689898989786554677897643263566799789893457943989768457990
|
||||
8767656899566789976567789899101257987631234599957897654323456986532102345899899954567891098654345789
|
||||
9888987910345678985435678943212346799732545678945698986434678999543313476789929877678932139765456991
|
||||
9999998931234589997523567894324578999843756789234579997876899987654574597894212998989653345989987890
|
||||
@@ -0,0 +1,94 @@
|
||||
{[<([<[[(<[({<<><>><()[]>}<(()())(())>)<(([]())){<()()><{}<>)}>][(((()<>)[{}{}]){<[]<>>({}{})})]>)[(({([{}[]]
|
||||
{{[[(<[[[<[<<{()()}(<>{})>[<<><>>[[]]]>[{{[]<>}[[]]}<<[]{}>[<>[]]>]]([[[{}<>]]<<()[]>{()<>}>]([<<
|
||||
([<{[[{{((([(<[]<>>{[]<>})<([]){<>{}}>][([<>[]][[]{}])])[[{{()[]}<()[]>}<{(){}}>]]]<{(<[{}<
|
||||
(({(<{(([<[({([]())(<>())}{([]{})[{}{}]})]{(({{}()}{<>()}](<[]<>>(()[])))({[[]{}]<[]<>>})}>[[[{<<>[]>(()
|
||||
[([<([{({{[{[([]{})[{}[]]][[{}{})]}<([<>{}]<<>()>)>]}([<{[()<>]{()<>}}[[{}{}]<(){}>]><{{{}[]}[()<>]}[{{
|
||||
<(([<{{<(<[(<{()()}>(({}()){()[]}))<[<[]()>[[]()]]<{[]()}<<>{}>>>](<[([]())]>(([()()][()<>])({()<>}<[]<>>))
|
||||
[{({<(<[{({{{[()[]](<>[])}{([]{})<<>{}>}}}{{<<{}[]>(<>)><(<><>)([]())>}<{({}<>)(<><>)}{[{}{}
|
||||
([(<{<[<{[({[<[]{}><<><>>]<({}[])({}<>)>}([{{}<>}<[]()>]<<<><>>>)){({<<><>>[[]{}]}(<()<>>{()}))<{<[
|
||||
({{([(<{{{{{{([]{}){<>{}}}}{<<()>{{}{}}>[({}())(()<>)]}}[[[[{}{}](<><>)]{<()[]><[][]>}](([[]](()()))<[[]
|
||||
(<<[<{{{({{<{{(){}}{<>()}}<({}{}){[][]}>>[{<[]{}>{<>()}}<{[]<>}[()<>]>]}}({([({}[])(<>{})][{<>}])[{[()<>]<{}
|
||||
{[(<<((<[[<{<{<>()}[{}[]]>}{{((){})[()<>]}<{(){})[{}{}]>}>]({((<<>()>){[<>()]{{}()}}){{[()()][<><>]}
|
||||
{(((([[(<[({({{}()}[<>[]])<(<><>)([]())>}{<[[]<>]><<()<>><()<>>>})<[[<[]{}><<>{}>]]>]<<{{[
|
||||
[{(<[[(<(<[{<({}[])<{}{}>>(<[]<>>)}]<{(<[]()>[()()])}>>{({<{{}()}[<>()]>})<[[(<>())(<>{})]{{{}[]}}][({{}[]}
|
||||
{[[<([{[(<<[<<()()>[[]]>[{()()}]](<[()]<()[]>><<{}()>{()()}>)>><[[([{}<>]{{}()})<{{}[]}<()[]>>]]})[([{{{<>()}
|
||||
((({[(<<{(((<<{}()>><{<><>}>)))[[{<({}[])[{}[]]>}(<[<><>][()()]><[[][]]<{}[]>>)]]}((({<(<>())>[({}{
|
||||
{<{{[(<<{(<{[({}<>)<{}[]>]([(){}](<>[]))}<(({}()){[][]}}[<()[]><{}()>]>>)}<<{(<[{}()]{<>{}}>[[[]()](()
|
||||
{(<<({{([<[<[<{}<>>{[][]}]<[<><>][()[]]>>{(({}{})){<()><()()>}}]>(<({{()()}({}<>)}<([]<>){[]{}}>){([[]<>
|
||||
<(<({{{([({{<<{}<>><()[]>>[{()<>}[<>{}]]}})({([{()[]}{(){}}]<(()<>)<{}<>>>)}<{{<{}<>>[[][]]}}<[{<>}[<>
|
||||
{({{(<<([({{[(()<>)[[]<>]][(<>{})({}())]}})]{(<[<(<>()){<><>}><<{}()>[[]]>][{{<>()}{[]()}}{[()<>]{<>()}}]>)
|
||||
([<({{{([[<<[[()[]][<><>]]<<<>[]><()()>>>(<{()<>}<()[]>><{<>()}<[]{}>>)>({(<()[]]<()()>)<[<>()][{}]>
|
||||
{[{<((<[<<({<{[]{}}[()()>>({[][]}[[]()])})(([{()}{{}()}]<<{}()>{{}{}}>)<([<>()])(<{}<>><{}[]>)>)>{[{
|
||||
{{([([{(<[[{[{()<>}({}())][[[]<>]<{}{}>]}]<<[({}[])(()<>)]({(){}}[()()])>{{(())<(){}>}}>]{[<{[[]()]{<>[]}}
|
||||
<(<({<{<<<([<([]<>)([]<>)>]<{{{}{}}<<>()>}>)<<{[[]()](<>{})}(([]())<[]()>)><[{<>{}}[(){}]]>>>>>(<{<[[[{
|
||||
(([({<{(<{[<({<><>}){{[][]}}>{<([]()){{}{}}>[([][])<{}{}>]}]}[((<{()<>}>)[{{()<>}{[][]}}])]
|
||||
(<<<(({{{([[<{(){}}>{(()())(()[])}]{({{}[]}<[][]>]<{{}<>}{()}>}])<(({[[][]]{{}{}}}(([][])<(){}>)
|
||||
{<{{[[({<<{{({{}()}({}{})><[()<>][<>{}]>}([<()[]>({}())][{()<>}[()]])}{<[{(){}}<[]{}>][[[]<>][[][]]]>([[<>]
|
||||
{{{[(<([[[[{[[(){}}<{}>]<{<>[]}{{}{}}>}]<[[(<>())((){})]((<>()))]{(<[]{}>([][])){<[]<>>(()[])}}>]
|
||||
(<{[([[<(<[<{[<>{}]}(<[]<>>{{}<>})>[{(())}]]>){<{(<(<>())<{}()>>]}({<<[]<>>[[]<>]>((()<>)[<><>])}
|
||||
[<{[[(({([((({[]{}}[()()])))]>[((<<[<><>][[]()]>{[()<>][()()]}>({{<>[]}({}<>)})))]})){((<[<[<[<>()]>
|
||||
<({[{{{<{[<[({[]{}}<[]>)(({}[])({}<>))]><{((()()))[[()<>]{<>[]}]}(<((){})<{}{}>><({}[])>)]][([<{
|
||||
<(<<<<<[(<<[{{[][]}{{}{}}}{{[][]}<()>}](<([]{})[()[]]>[[{}{}]{<>()}])>([{[[]()]<<>[]>}[<<>{}>{<>
|
||||
<(<[[<[[[<<(<(()[])<{}()>><(<>{})>)[([{}{}]([]{}))]><<<[<>[]]{<>[]}>{(()<>)({}[])}>>><[[[{<
|
||||
([[{[({<({(([<(){}><[]<>>]<{()<>}({})>))([([{}<>][{}[]]){[<>[]]({}<>)}][[({}[]){[]()}]])})>[({{(<(()[]){<>
|
||||
<[<{<[{(<<[[{{(){}}({}<>)}<(()[])>]<<<()()>(()<>)>({{}})>]({[(<>{})<{}()>]{<{}<>><<><>>}}<<{()<>}
|
||||
{[{({[[(({{{{<()()>{[]{}}}{[<>[]]<()<>>}}(<<<>()><{}<>>>({()<>}[()<>])}}{<{[()[]]{(){}}}>[<<[]{}>>[((){})<(
|
||||
{{(<[<(<(<{{(<[]()><()<>>)}{((<><>))[<<>{}>{()[]}]}}>{{<({{}{}}[()<>])[<(){}>(<>[])]><<(<>{}}[{}
|
||||
[{{{[[[[{(<{<[<>[]](()[])]{{<>{}}}}{[(()()){[][]}]{([][])}}><<{<<>()>([])}[[[]{}]<{}{}>]>(([{}<>]<[]()>)
|
||||
{[[(<([[[[((({<>{}}(<>())){<{}[]>})[([<>[]](<>[])}[({}[])([]())]])([<{{}()}(<>())><[[][]][<>()]>][([()()]<<>[
|
||||
<[{[{({(<(((<<<>{}><[]()>][{{}()}{[][]}])[(((){})([][]))[[()<>][[]{}]]])[[(((){})[()])[[(){}]<{}
|
||||
[{[[<[<{{(({([(){}]<()()>](([]<>)[()[]])}<<{[][]}([][])>>)<[[([]())<{}[]>]]>){[[[{{}()}[<>[]]]{<[]{}>
|
||||
[[<([([[<<<{{[{}[]][<><>]}}{{{{}{}}}}>>>[([[(<<>[]>({}<>))<([]())<<><>>>]{{<<>[]>{<>()}}}][<{{[
|
||||
({[<<<((<<<<<<[]{}>[()()]>{[()[]]{()<>}}>[((<>()){()()}){<[][]]<{}{}>}]>{{[[{}{}]<{}[]>]([[]<>])}((
|
||||
({<<[[{{<{[[{<()><<>>}<<()[]>([][])>]]([[({}<>)[()[]]](([]{})<<>[]])]<[([]<>){[]}]>)}(((<<{}[
|
||||
<(<(<(([([[[{{[]()}{<>()}}{<{}[]>[{}()]}]{{[{}{}]<()[]>}({<>()}<(){}>)}][[{<{}()><[][]>}](<[
|
||||
[[<{<[<[<({<<{[]}<()<>>>({<><>}{[]<>})><([<>()]([][]))>}[({[{}{}]<{}[]>})({[<><>]})])>]([[{<({
|
||||
<([{[[<<[({<<[{}()]({}[])>{<[][]>{()()}}>{<(<>[])([]{})>([{}[]}[<>])}}{{[<<>[]>{[]<>}][([][]){{}{}}]
|
||||
[([({((<[{{{[<{}><<>()>]<<()[]>>}<[{{}{}}([][])]{{()<>}<(){}>}>}<{<[[][]]>({{}<>}{()[]})}>
|
||||
[[[{([({{{<{[[[][]]{()()}]}{{<<>[]>[{}[]]}[[[]()]<<>>]}>({{(<>[])[{}[]]}({<>()}[{}[]])}{{(()<
|
||||
{<{{{<[{[<{(<{[]{}}{[][]}>{{[]<>}}}}[{((()[])<()()>)[<<>[]><{}()>]}<[{<>{}}[()<>]]<[<>[]][<>{}]>>]>[<[
|
||||
<[<{[[<{<[([{({}[])(()<>)}[[<>()]{()[]}]])][[<{[<>[]][<>[]]}<{<>{}}{<>{}}>>{<<()()><()<>>>{([]()
|
||||
<[{{({<[<([[[([]{})({}())]]<[{{}}[()<>]]<{<>{}}{()}>>])<[<[<<>()>]{<{}{}>[[]<>]}><({[]()}<<><>>)[(()<>)(<>())
|
||||
{<[[[<(<[<{<({<>{}}[<><>])([{}<>]<[][]>)><<[(){}](<>[])>[({}[])<<>[]}]>}{{{(<>())(<>{})}}<((<>())
|
||||
<{(<<[{[{<{<<((){})[[]{}]><([]<>)<{}[]>>>{[[[][]]<()()>]}}{({{<>()}<<>()>}{<{}<>><()[]>})}>}<[<([<()()>{()()
|
||||
{{([<{[[((<<{<<>()><<>[]>}<(()<>)>>><<[<[][]><{}<>>]>{<([]()){[]<>}>}>))]<{(((<[[]<>]([]<>)>[{{}()}<<
|
||||
([{{({{<[[(((<[][]>{<>{}}){<()[]>{[]()}})(<({}<>)([]<>)>(([])[()<>])))(([([][]){()<>}]{{[]<>}{[](
|
||||
[{{<{({[<{<{((<>())({}[]))<{<>()}({}[])>}(<[{}()]<{}<>>>({[][]}{()<>}))}{([({}[]){{}[]}]<([][])>)}}{<{({{}(
|
||||
[{(([[[([<<(<([]()){<>}>(({}<>)(()())))[((<>{})){[()<>]<<>{}>}]>>][<{{[<()<>>{{}[]}]<<{}[]><{}[]>]}[
|
||||
{<<<(<[<[{<[<({}[])>(([])<[]<>>)]<<<{}{}>({}())>{[<>{}}<[][]>}>>[{[<<>()><()()>]{[<>[]]<[]>}}[<<<>[]>{[]()
|
||||
([(((<<(<[[<[<{}<>>(<><>)]>([<{}[]>{<>{}}]({<>{}}[()()]))]](<({<<>[]>({}[])}<[[]<>]{<>[]}>)(<{
|
||||
([{({{{[(((<<{[]()}<{}<>>>((<><>){[]()>)>({<{}()><(){}>}<[<>()]>))){((([[][]]{<>{}})[([]<>){<>[]}]
|
||||
<(({{{[(([<[{<(){}>([]<>)}(<[]><()<>>)]><<([()[]]([]()))>{[(()<>}<{}>]}>]){{[{(({}{})<(){}>){[[]]{[]
|
||||
[<{(<({<{((<<<[]<>>([]())>(((){})[[]()])>{[[<>]<{}<>>]}){[<[<>[]]({}())]{{()[]}<()>}]})<([[([]())<<
|
||||
[[<<[<{{[{({<[()<>]{<>[]}>{([][]){<><>}}}<[[{}()]][<<><>>{{}[]}]>)}{<{{({}<>)(()())}[{{}{}}[{}()]]
|
||||
({<({[{[{(([<<()()>{<>[]}>[([]<>)<()<>>]]{<{<>()}[{}{}]>((<>{}){<>{}})})([<([][])[[]{}]>(<[]()>{<>
|
||||
{[[((<{[[<<({<[]<>>[()<>]}{[()]{<>}})>[<{<<>()><()[]>}{{()[]}<()<>>}>(([{}[]]))]>[[{({<><>})}
|
||||
{{(<[{{[{<[({(()){{}<>}}(<{}[]>[[]()]))]>}({(<((()[])((){}))<{<><>}[<>()]>>)}(<<[(())<{}<>>]{[[]]<{}
|
||||
<{{([<<<<[([<[<><>][[]]><<(){}>[()()]>]<{(<><>)<<><>>}([{}{}])>)][[([<()()><<>()>])(({[]<>}([]{}]){<[]><[]
|
||||
{(<<[[<{{((([<[]<>>[{}<>]][([][]){{}{}}>)(<<<><>><[]{}>>{{(){}}[<>{}]}))({<(())[<>()]><{<>{}}(<>[])>}(({
|
||||
[[[([({([<<[[[<>{}]{<>{}}]<[<><>]{{}<>}>]>[({[()()]<<>()>}{[()()][{}()]}){({{}()}[(){}))}]>[(<{[()<>
|
||||
[{{(<<<[{(((<<()<>>([])>({<>{}}<()[]>)))[{(([]){()<>})(({}[])<{}})}<{([]{})({}())}<(<>[])<<>[]>>>
|
||||
{<<<<[{[{({{[<<>()><{}[]>]<[[]{}][{}{}]>}(<({}{})<()<>>>{{()<>}})}{[[{{}{}}[{}{}]]<[<><>](<>{})>]})(([{[<>()
|
||||
<(<[<{(<{[{<{[[]{}]{{}[]}}>[{[[]<>][{}{}]}(([]())(<>))]}<{{[{}{}]([]{})}[({}())]}{<<<>()>>([(
|
||||
<{{[{[<{[[<[{<[]{}><<>{}>}]{({()<>}(<><>)){[<>[]]}}>{([[<>{}]({}{})](({}{})<[]{}>))<{[{}<>
|
||||
{{<<{<<<[{[[([[]()][()()])(({}()))][[({}[])<()()>]]]{<[<{}[]>{{}{}}]>}}[[[[([]())]([<>[]][[]{}]>]]
|
||||
[[<<[({{{(<[(<()<>>[<>])]([(()<>){<>())]([<>[]][[]<>]))>{{[[[]()]([]())]{<[]{}>{()<>}}}[<([]<>)<()>>({<>{}}[<
|
||||
([[([<{<[<((<(<>[])(<>[])>(<<><>><{}[]>)){<<{}<>>>({{}{}}<()[]>)}>[{{(<><>)(()<>)}[<<>[]>]}]>]<{{
|
||||
{{{((<<{[[{<([[]{}][{}<>])>}<[((()())<()<>>)[[[]{}]{[][]}]]<<<[]{}>{{}[]}>(<<>()><(){}>)>>](<
|
||||
{(([[{{<[[<{(({}<>)[<>[]])}<{({}{}){{}}}[[()[]](()())]>>]([<[{()[]})({<>}[<>{}])>{[{{}{}}{(){}}]{<{}{}>}}])
|
||||
{([(<{<<({[<[{()()}<[]<>>]{<[]{}>}><[[<>][()<>]]>]{<{{[]{}}<(){}>}[({})]>{{<{}{}><()<>>}([{}
|
||||
{{[[({{({[(([{{}()}[{}]]({{}<>}([][]))){({{}<>}[[]{}])<<()<>>>})]{(<[<{}{}>{<>()}](({}())((){
|
||||
{<({{<<{{([{{{[]<>}{<>{}}}((<><>)<()<>>)}[<[{}<>][()[]]><[<>()][<><>]>]]{{[[()<>]<<>[]>]<(<><>)
|
||||
<(<[(<<[[<<<[({}())<[][]>](({}<>)[{}<>])>>[<{{{}}<()<>>}<(()<>){{}{}}>>]>({{<[<><>](<><>)>[(<>{}
|
||||
[((<{[{{(<{[({{}[]}((){}))([[][]]{<>[]})]<{<{}[]>[{}<>]}[<{}()><{}<>>]>]>)}}]}{{{(<[(<{{()()}}>{[<{}<>><<>[]>
|
||||
{([<<{(<([[({{{}<>}<(){}>}<<()[]>{<>{}}>)((<[][]>[<><>])<<[][]>{<>()}>)]((<{<>[]}{[][]}>[[<>()]{<>[]}]]{{[
|
||||
[<{(<{([{{(([<<>()>]{<(){}><()<>>}){(([]{}>)<(<><>)>})}({({[<>]{<>[]}}[[{}<>]])}[{<[()[]]<{}<>
|
||||
{[(<(<{(<<[{[<[]()>(<>[])][{{}}[()[]]]}{{[[]{}]{()()}}<<<>>[[]()]>}]>{{<[<{}()>([]())]({(){}}(()<>))>([(<>(
|
||||
{{([[([[[<(({<{}<>>[<>[]]}{([]<>)<<>{}>})<{{[]<>}{{}<>}}([()()]<<>[]>>>){{[[()<>]]<((){})<[]{}>>}{<<[]<>><()
|
||||
<({([[[[[({[[{{}<>}({}<>)]({<>[]}[<>{}])][([<>[]](<>()))<([]())[{}{}]>]}(((({}[])[()[]])[{{}{}}(<>)])(<<<>
|
||||
[({{<{[([(((<{[]{}}{<>()}><[{}<>>{<>[]}>)){([<{}{}><()[]>]<([]{})[{}{}]>){{[[]]<[]{}>}((()[])[(
|
||||
(({<[<<{{[[<{(<>{})([]())}([[]{}]{{}()})><[<{}()><{}{}>]<<<>()>[[]()]>>]<[<<()[]><<>()>>[{{}<>}[<>]]]>]
|
||||
((<[[<{{{[({<(()[])<()<>>>})]{<(([()()][[]]))({[[]()]{[]<>}}{[<>()]})><<(({}[])[{}{}])>>}}}[[[{{{{[]{}}({}[
|
||||
([<[<{{{{[<<{{<>[]}([]<>)}><{{()[]}[<><>]}{<[]>[()<>]}>><{[{[][]}<()[]>]({[][]}(()<>))}<{(<>())(
|
||||
{((<(([[<[(<[{()[]}([]())>>[<[<>()]<[]{}>>(<()<>><[]>)])<(<{()}>(([]<>){<>{}}))<[[[]<>]{[]()}
|
||||
[(<[([([{{{<([[]<>]<<>>)[{<>[]}{{}<>}]}({(())[{}()]}[<{}<>>{<>()}])}([<[(){}]([][])><(()())
|
||||
@@ -0,0 +1,10 @@
|
||||
7222221271
|
||||
6463754232
|
||||
3373484684
|
||||
4674461265
|
||||
1187834788
|
||||
1175316351
|
||||
8211411846
|
||||
4657828333
|
||||
5286325337
|
||||
5771324832
|
||||
@@ -0,0 +1,23 @@
|
||||
pn-TY
|
||||
rp-ka
|
||||
az-aw
|
||||
al-IV
|
||||
pn-co
|
||||
end-rp
|
||||
aw-TY
|
||||
rp-pn
|
||||
al-rp
|
||||
end-al
|
||||
IV-co
|
||||
end-TM
|
||||
co-TY
|
||||
TY-ka
|
||||
aw-pn
|
||||
aw-IV
|
||||
pn-IV
|
||||
IV-ka
|
||||
TM-rp
|
||||
aw-PD
|
||||
start-IV
|
||||
start-co
|
||||
start-pn
|
||||
@@ -0,0 +1,915 @@
|
||||
938,670
|
||||
246,156
|
||||
622,476
|
||||
137,296
|
||||
708,323
|
||||
1019,283
|
||||
415,505
|
||||
1043,234
|
||||
666,871
|
||||
157,893
|
||||
969,266
|
||||
1280,690
|
||||
987,260
|
||||
296,428
|
||||
1302,361
|
||||
92,168
|
||||
206,204
|
||||
937,659
|
||||
551,488
|
||||
147,456
|
||||
1279,42
|
||||
463,154
|
||||
407,266
|
||||
1153,893
|
||||
495,372
|
||||
733,459
|
||||
378,169
|
||||
48,705
|
||||
31,852
|
||||
577,571
|
||||
36,672
|
||||
1014,661
|
||||
441,880
|
||||
1305,791
|
||||
115,553
|
||||
455,267
|
||||
360,833
|
||||
915,455
|
||||
346,53
|
||||
606,367
|
||||
1014,513
|
||||
930,633
|
||||
190,350
|
||||
564,577
|
||||
1205,376
|
||||
928,462
|
||||
577,435
|
||||
825,686
|
||||
517,598
|
||||
782,119
|
||||
1110,539
|
||||
67,236
|
||||
77,185
|
||||
577,723
|
||||
808,855
|
||||
139,742
|
||||
865,414
|
||||
159,522
|
||||
1159,626
|
||||
440,58
|
||||
743,505
|
||||
252,502
|
||||
1190,659
|
||||
855,521
|
||||
1094,185
|
||||
798,176
|
||||
1114,61
|
||||
174,695
|
||||
427,581
|
||||
161,670
|
||||
74,222
|
||||
1250,829
|
||||
930,261
|
||||
398,497
|
||||
541,47
|
||||
340,102
|
||||
1057,614
|
||||
820,753
|
||||
1057,453
|
||||
1158,141
|
||||
492,499
|
||||
267,234
|
||||
642,568
|
||||
904,586
|
||||
1274,47
|
||||
169,781
|
||||
241,164
|
||||
1037,621
|
||||
50,254
|
||||
44,63
|
||||
388,561
|
||||
1099,522
|
||||
1255,809
|
||||
736,171
|
||||
1139,145
|
||||
323,708
|
||||
928,686
|
||||
527,851
|
||||
478,771
|
||||
895,505
|
||||
320,455
|
||||
156,268
|
||||
787,399
|
||||
1136,695
|
||||
150,751
|
||||
252,537
|
||||
1242,631
|
||||
468,40
|
||||
436,208
|
||||
380,261
|
||||
324,3
|
||||
954,93
|
||||
946,504
|
||||
991,817
|
||||
604,177
|
||||
565,348
|
||||
705,406
|
||||
89,38
|
||||
735,418
|
||||
234,161
|
||||
880,0
|
||||
956,553
|
||||
523,847
|
||||
654,753
|
||||
946,266
|
||||
465,822
|
||||
768,282
|
||||
3,5
|
||||
18,513
|
||||
758,737
|
||||
980,639
|
||||
1248,725
|
||||
1250,570
|
||||
807,716
|
||||
1138,375
|
||||
1076,354
|
||||
922,561
|
||||
417,434
|
||||
831,626
|
||||
115,861
|
||||
1255,710
|
||||
793,473
|
||||
77,499
|
||||
964,169
|
||||
989,343
|
||||
875,183
|
||||
758,224
|
||||
398,397
|
||||
1208,670
|
||||
903,266
|
||||
77,403
|
||||
82,176
|
||||
427,313
|
||||
139,152
|
||||
810,550
|
||||
577,619
|
||||
867,665
|
||||
443,665
|
||||
485,775
|
||||
272,686
|
||||
196,833
|
||||
291,163
|
||||
1029,387
|
||||
1221,38
|
||||
1019,611
|
||||
544,78
|
||||
299,826
|
||||
1289,854
|
||||
1160,751
|
||||
1230,469
|
||||
408,290
|
||||
1056,176
|
||||
281,507
|
||||
170,828
|
||||
18,828
|
||||
1175,329
|
||||
539,413
|
||||
698,764
|
||||
373,59
|
||||
433,376
|
||||
1020,504
|
||||
85,771
|
||||
151,716
|
||||
934,245
|
||||
172,792
|
||||
383,78
|
||||
1223,725
|
||||
348,278
|
||||
3,453
|
||||
152,525
|
||||
1037,618
|
||||
1197,686
|
||||
319,749
|
||||
328,318
|
||||
623,42
|
||||
1258,521
|
||||
441,14
|
||||
862,802
|
||||
1233,459
|
||||
1140,791
|
||||
994,509
|
||||
417,262
|
||||
517,712
|
||||
1029,507
|
||||
52,821
|
||||
984,133
|
||||
1120,96
|
||||
1186,764
|
||||
482,760
|
||||
1114,754
|
||||
190,96
|
||||
728,494
|
||||
1071,602
|
||||
1019,122
|
||||
92,726
|
||||
1221,856
|
||||
710,686
|
||||
1140,49
|
||||
485,208
|
||||
661,775
|
||||
774,511
|
||||
154,123
|
||||
383,816
|
||||
986,3
|
||||
455,409
|
||||
200,614
|
||||
584,749
|
||||
616,662
|
||||
493,353
|
||||
572,649
|
||||
80,171
|
||||
932,177
|
||||
1237,614
|
||||
574,171
|
||||
480,247
|
||||
656,193
|
||||
1153,449
|
||||
502,257
|
||||
1303,632
|
||||
733,403
|
||||
1274,672
|
||||
872,515
|
||||
219,631
|
||||
353,9
|
||||
1020,47
|
||||
683,602
|
||||
62,169
|
||||
734,586
|
||||
325,614
|
||||
482,323
|
||||
1160,143
|
||||
987,5
|
||||
982,766
|
||||
1115,495
|
||||
1086,894
|
||||
441,546
|
||||
816,675
|
||||
1272,662
|
||||
929,618
|
||||
865,480
|
||||
237,262
|
||||
729,728
|
||||
1197,159
|
||||
880,289
|
||||
68,148
|
||||
816,227
|
||||
924,198
|
||||
113,686
|
||||
704,245
|
||||
745,486
|
||||
500,550
|
||||
510,824
|
||||
817,353
|
||||
708,571
|
||||
1021,77
|
||||
929,276
|
||||
704,79
|
||||
1061,51
|
||||
1002,514
|
||||
351,152
|
||||
934,693
|
||||
216,709
|
||||
736,469
|
||||
130,385
|
||||
1221,546
|
||||
276,254
|
||||
1054,556
|
||||
1164,7
|
||||
2,107
|
||||
812,626
|
||||
610,383
|
||||
1069,164
|
||||
738,848
|
||||
462,73
|
||||
618,579
|
||||
299,516
|
||||
126,775
|
||||
415,389
|
||||
1044,113
|
||||
1115,47
|
||||
1062,586
|
||||
746,129
|
||||
976,397
|
||||
1309,166
|
||||
602,323
|
||||
494,227
|
||||
888,820
|
||||
835,662
|
||||
728,400
|
||||
1009,397
|
||||
410,718
|
||||
273,618
|
||||
253,453
|
||||
865,59
|
||||
528,775
|
||||
1002,380
|
||||
224,446
|
||||
1305,327
|
||||
364,166
|
||||
189,744
|
||||
67,658
|
||||
1307,67
|
||||
572,848
|
||||
957,9
|
||||
454,602
|
||||
743,837
|
||||
811,593
|
||||
113,882
|
||||
77,275
|
||||
1232,138
|
||||
482,326
|
||||
216,653
|
||||
987,827
|
||||
984,761
|
||||
1121,150
|
||||
90,765
|
||||
274,323
|
||||
701,123
|
||||
308,514
|
||||
1159,178
|
||||
80,723
|
||||
1154,268
|
||||
1255,16
|
||||
20,77
|
||||
745,856
|
||||
729,726
|
||||
628,229
|
||||
475,662
|
||||
120,659
|
||||
1091,711
|
||||
688,476
|
||||
500,312
|
||||
408,171
|
||||
996,543
|
||||
323,453
|
||||
826,66
|
||||
508,775
|
||||
89,632
|
||||
601,52
|
||||
686,18
|
||||
638,455
|
||||
1094,67
|
||||
562,509
|
||||
102,593
|
||||
517,312
|
||||
435,263
|
||||
594,829
|
||||
930,323
|
||||
1073,348
|
||||
524,509
|
||||
659,653
|
||||
895,690
|
||||
443,372
|
||||
1149,670
|
||||
763,408
|
||||
160,227
|
||||
36,628
|
||||
571,28
|
||||
687,70
|
||||
1307,889
|
||||
200,539
|
||||
87,243
|
||||
818,753
|
||||
1230,873
|
||||
152,173
|
||||
408,738
|
||||
219,711
|
||||
890,845
|
||||
606,79
|
||||
1168,77
|
||||
1200,78
|
||||
688,154
|
||||
335,184
|
||||
629,173
|
||||
793,712
|
||||
318,571
|
||||
769,686
|
||||
1310,141
|
||||
234,354
|
||||
3,403
|
||||
155,322
|
||||
579,516
|
||||
706,53
|
||||
977,241
|
||||
1178,652
|
||||
1054,637
|
||||
5,791
|
||||
316,593
|
||||
681,528
|
||||
226,152
|
||||
838,53
|
||||
316,301
|
||||
947,283
|
||||
647,262
|
||||
833,427
|
||||
1014,233
|
||||
1058,502
|
||||
562,207
|
||||
224,894
|
||||
836,775
|
||||
869,14
|
||||
256,273
|
||||
541,686
|
||||
1227,345
|
||||
1074,99
|
||||
92,562
|
||||
489,306
|
||||
1149,801
|
||||
172,760
|
||||
811,301
|
||||
1230,425
|
||||
512,718
|
||||
1084,152
|
||||
213,14
|
||||
813,445
|
||||
628,665
|
||||
1011,516
|
||||
850,773
|
||||
21,40
|
||||
1033,406
|
||||
783,43
|
||||
719,840
|
||||
1225,164
|
||||
219,152
|
||||
1222,173
|
||||
1038,686
|
||||
236,99
|
||||
1220,99
|
||||
761,824
|
||||
909,814
|
||||
740,756
|
||||
676,278
|
||||
219,183
|
||||
1218,168
|
||||
1233,485
|
||||
281,682
|
||||
403,465
|
||||
672,455
|
||||
1037,276
|
||||
649,775
|
||||
622,292
|
||||
1303,262
|
||||
435,94
|
||||
68,631
|
||||
402,201
|
||||
326,133
|
||||
574,51
|
||||
986,891
|
||||
1120,350
|
||||
912,621
|
||||
970,792
|
||||
549,824
|
||||
253,677
|
||||
536,292
|
||||
1290,177
|
||||
28,190
|
||||
356,93
|
||||
842,40
|
||||
769,208
|
||||
653,877
|
||||
1215,460
|
||||
803,8
|
||||
1262,245
|
||||
417,348
|
||||
865,507
|
||||
1116,325
|
||||
580,828
|
||||
314,211
|
||||
1233,185
|
||||
582,624
|
||||
818,499
|
||||
661,464
|
||||
726,749
|
||||
933,488
|
||||
77,459
|
||||
604,702
|
||||
454,7
|
||||
435,711
|
||||
416,873
|
||||
1130,439
|
||||
137,312
|
||||
113,208
|
||||
582,494
|
||||
1138,102
|
||||
924,310
|
||||
281,387
|
||||
569,663
|
||||
652,143
|
||||
353,885
|
||||
602,633
|
||||
816,219
|
||||
606,649
|
||||
191,565
|
||||
55,464
|
||||
846,96
|
||||
422,759
|
||||
253,441
|
||||
560,311
|
||||
36,679
|
||||
1290,525
|
||||
1158,173
|
||||
333,775
|
||||
704,649
|
||||
527,857
|
||||
692,579
|
||||
72,176
|
||||
584,690
|
||||
562,687
|
||||
1121,822
|
||||
599,246
|
||||
319,593
|
||||
1124,488
|
||||
657,877
|
||||
457,675
|
||||
1179,266
|
||||
668,568
|
||||
577,171
|
||||
170,845
|
||||
865,387
|
||||
452,578
|
||||
174,141
|
||||
119,203
|
||||
70,674
|
||||
745,348
|
||||
12,326
|
||||
1240,749
|
||||
239,389
|
||||
574,313
|
||||
709,52
|
||||
542,282
|
||||
31,824
|
||||
110,368
|
||||
182,219
|
||||
353,437
|
||||
755,133
|
||||
1029,212
|
||||
571,866
|
||||
494,675
|
||||
715,212
|
||||
920,844
|
||||
1181,667
|
||||
704,525
|
||||
20,369
|
||||
729,814
|
||||
1168,176
|
||||
290,119
|
||||
1196,143
|
||||
748,338
|
||||
1183,25
|
||||
221,376
|
||||
1258,883
|
||||
331,226
|
||||
700,383
|
||||
731,516
|
||||
649,430
|
||||
227,502
|
||||
783,3
|
||||
959,152
|
||||
440,836
|
||||
726,369
|
||||
70,749
|
||||
1171,152
|
||||
897,388
|
||||
154,344
|
||||
661,430
|
||||
994,385
|
||||
507,8
|
||||
800,70
|
||||
739,345
|
||||
1192,511
|
||||
478,751
|
||||
853,890
|
||||
298,821
|
||||
808,39
|
||||
687,852
|
||||
254,176
|
||||
127,473
|
||||
1195,553
|
||||
733,619
|
||||
214,58
|
||||
788,793
|
||||
723,455
|
||||
465,150
|
||||
10,471
|
||||
373,235
|
||||
623,294
|
||||
281,212
|
||||
1016,173
|
||||
912,257
|
||||
1061,388
|
||||
1190,235
|
||||
546,656
|
||||
378,389
|
||||
676,616
|
||||
1240,397
|
||||
783,409
|
||||
400,64
|
||||
569,282
|
||||
1292,841
|
||||
663,262
|
||||
1262,705
|
||||
457,4
|
||||
1232,308
|
||||
226,742
|
||||
649,327
|
||||
952,381
|
||||
567,651
|
||||
724,263
|
||||
940,316
|
||||
956,240
|
||||
53,500
|
||||
1298,326
|
||||
1016,866
|
||||
1223,690
|
||||
688,292
|
||||
1076,332
|
||||
632,782
|
||||
454,740
|
||||
131,495
|
||||
152,141
|
||||
989,653
|
||||
189,488
|
||||
1086,224
|
||||
1072,873
|
||||
651,515
|
||||
870,58
|
||||
932,169
|
||||
1258,409
|
||||
700,511
|
||||
769,735
|
||||
5,567
|
||||
321,241
|
||||
200,740
|
||||
576,586
|
||||
581,726
|
||||
303,742
|
||||
132,652
|
||||
1014,428
|
||||
380,633
|
||||
330,815
|
||||
73,280
|
||||
1207,488
|
||||
536,511
|
||||
902,604
|
||||
446,852
|
||||
448,11
|
||||
77,485
|
||||
594,65
|
||||
1039,78
|
||||
708,11
|
||||
482,550
|
||||
331,345
|
||||
373,771
|
||||
333,103
|
||||
959,742
|
||||
1220,795
|
||||
36,215
|
||||
848,821
|
||||
726,145
|
||||
482,568
|
||||
682,665
|
||||
937,771
|
||||
298,353
|
||||
774,383
|
||||
28,373
|
||||
826,49
|
||||
364,266
|
||||
716,0
|
||||
883,581
|
||||
1094,795
|
||||
212,306
|
||||
136,789
|
||||
401,814
|
||||
659,889
|
||||
422,74
|
||||
541,208
|
||||
20,817
|
||||
364,728
|
||||
785,785
|
||||
937,212
|
||||
1104,204
|
||||
74,290
|
||||
855,309
|
||||
7,856
|
||||
587,439
|
||||
663,38
|
||||
174,199
|
||||
282,679
|
||||
1120,798
|
||||
845,582
|
||||
290,847
|
||||
92,332
|
||||
1243,236
|
||||
1020,266
|
||||
443,105
|
||||
497,449
|
||||
728,270
|
||||
124,764
|
||||
1280,513
|
||||
535,203
|
||||
741,771
|
||||
278,201
|
||||
708,633
|
||||
599,269
|
||||
842,854
|
||||
994,301
|
||||
18,841
|
||||
324,891
|
||||
480,641
|
||||
740,138
|
||||
95,882
|
||||
734,308
|
||||
577,282
|
||||
793,296
|
||||
932,389
|
||||
705,488
|
||||
52,521
|
||||
180,455
|
||||
1190,540
|
||||
581,814
|
||||
420,637
|
||||
160,667
|
||||
478,359
|
||||
190,798
|
||||
150,143
|
||||
130,826
|
||||
89,348
|
||||
569,123
|
||||
771,301
|
||||
853,442
|
||||
1146,753
|
||||
733,395
|
||||
348,333
|
||||
441,287
|
||||
216,99
|
||||
3,67
|
||||
176,183
|
||||
547,856
|
||||
68,711
|
||||
605,406
|
||||
544,627
|
||||
105,152
|
||||
856,103
|
||||
1032,201
|
||||
618,131
|
||||
599,878
|
||||
604,841
|
||||
1233,275
|
||||
479,626
|
||||
1151,522
|
||||
21,854
|
||||
668,543
|
||||
1028,740
|
||||
113,159
|
||||
746,577
|
||||
586,863
|
||||
1247,840
|
||||
272,208
|
||||
201,138
|
||||
249,58
|
||||
159,372
|
||||
87,725
|
||||
776,540
|
||||
907,579
|
||||
1099,677
|
||||
468,854
|
||||
748,687
|
||||
303,152
|
||||
1094,241
|
||||
52,373
|
||||
85,739
|
||||
48,189
|
||||
52,883
|
||||
157,445
|
||||
430,0
|
||||
185,234
|
||||
127,627
|
||||
6,887
|
||||
527,627
|
||||
582,176
|
||||
1118,521
|
||||
216,67
|
||||
386,198
|
||||
1150,227
|
||||
172,344
|
||||
687,600
|
||||
120,690
|
||||
387,712
|
||||
1203,632
|
||||
888,123
|
||||
689,676
|
||||
468,488
|
||||
933,770
|
||||
199,267
|
||||
256,497
|
||||
586,263
|
||||
895,389
|
||||
110,627
|
||||
479,268
|
||||
741,730
|
||||
694,232
|
||||
666,301
|
||||
704,490
|
||||
129,667
|
||||
1242,711
|
||||
830,641
|
||||
194,325
|
||||
618,315
|
||||
910,64
|
||||
1052,298
|
||||
1171,742
|
||||
869,546
|
||||
1153,880
|
||||
1148,128
|
||||
381,173
|
||||
1233,11
|
||||
1240,130
|
||||
103,488
|
||||
274,267
|
||||
402,693
|
||||
594,381
|
||||
495,267
|
||||
246,425
|
||||
1292,268
|
||||
602,37
|
||||
539,677
|
||||
793,421
|
||||
711,16
|
||||
89,856
|
||||
1073,460
|
||||
1020,180
|
||||
763,856
|
||||
438,205
|
||||
365,817
|
||||
1210,600
|
||||
372,224
|
||||
135,565
|
||||
853,452
|
||||
239,242
|
||||
363,283
|
||||
1079,348
|
||||
142,176
|
||||
107,632
|
||||
534,242
|
||||
530,130
|
||||
142,77
|
||||
1290,77
|
||||
1218,385
|
||||
249,51
|
||||
214,57
|
||||
687,42
|
||||
972,77
|
||||
1173,296
|
||||
808,305
|
||||
813,1
|
||||
1225,155
|
||||
333,791
|
||||
774,607
|
||||
1300,23
|
||||
1140,103
|
||||
340,550
|
||||
154,582
|
||||
10,423
|
||||
38,662
|
||||
565,856
|
||||
354,688
|
||||
333,241
|
||||
1256,208
|
||||
272,656
|
||||
736,51
|
||||
880,672
|
||||
1145,894
|
||||
1022,379
|
||||
566,721
|
||||
668,102
|
||||
503,716
|
||||
912,497
|
||||
610,511
|
||||
1292,828
|
||||
282,222
|
||||
22,782
|
||||
572,718
|
||||
|
||||
fold along x=655
|
||||
fold along y=447
|
||||
fold along x=327
|
||||
fold along y=223
|
||||
fold along x=163
|
||||
fold along y=111
|
||||
fold along x=81
|
||||
fold along y=55
|
||||
fold along x=40
|
||||
fold along y=27
|
||||
fold along y=13
|
||||
fold along y=6
|
||||
@@ -0,0 +1,102 @@
|
||||
PHVCVBFHCVPFKBNHKNBO
|
||||
|
||||
HK -> F
|
||||
VN -> S
|
||||
NB -> F
|
||||
HF -> B
|
||||
CK -> N
|
||||
VP -> B
|
||||
HO -> P
|
||||
NH -> N
|
||||
CC -> N
|
||||
FC -> P
|
||||
OK -> S
|
||||
OO -> P
|
||||
ON -> C
|
||||
VF -> B
|
||||
NN -> O
|
||||
KS -> P
|
||||
FK -> K
|
||||
HB -> V
|
||||
SH -> O
|
||||
OB -> K
|
||||
PB -> V
|
||||
BO -> O
|
||||
NV -> K
|
||||
CV -> H
|
||||
PH -> H
|
||||
KO -> B
|
||||
BC -> B
|
||||
KC -> B
|
||||
SO -> P
|
||||
CF -> V
|
||||
VS -> F
|
||||
OV -> N
|
||||
NS -> K
|
||||
KV -> O
|
||||
OP -> O
|
||||
HH -> C
|
||||
FB -> S
|
||||
CO -> K
|
||||
SB -> K
|
||||
SN -> V
|
||||
OF -> F
|
||||
BN -> F
|
||||
CP -> C
|
||||
NC -> H
|
||||
VH -> S
|
||||
HV -> V
|
||||
NF -> B
|
||||
SS -> K
|
||||
FO -> F
|
||||
VO -> H
|
||||
KK -> C
|
||||
PF -> V
|
||||
OS -> F
|
||||
OC -> H
|
||||
SK -> V
|
||||
FF -> H
|
||||
PK -> N
|
||||
PC -> O
|
||||
SP -> B
|
||||
CB -> B
|
||||
CH -> H
|
||||
FN -> V
|
||||
SV -> O
|
||||
SC -> P
|
||||
NP -> B
|
||||
BB -> S
|
||||
PV -> S
|
||||
VB -> P
|
||||
SF -> H
|
||||
VC -> O
|
||||
HN -> V
|
||||
BF -> O
|
||||
NO -> O
|
||||
HP -> N
|
||||
VV -> K
|
||||
HS -> P
|
||||
FH -> N
|
||||
KB -> F
|
||||
KF -> B
|
||||
PN -> K
|
||||
KH -> K
|
||||
CN -> S
|
||||
PP -> O
|
||||
BP -> O
|
||||
OH -> B
|
||||
FS -> O
|
||||
BK -> B
|
||||
PO -> V
|
||||
CS -> C
|
||||
BV -> N
|
||||
KP -> O
|
||||
KN -> B
|
||||
VK -> F
|
||||
HC -> O
|
||||
BH -> B
|
||||
FP -> H
|
||||
NK -> V
|
||||
BS -> C
|
||||
FV -> F
|
||||
PS -> P
|
||||
@@ -7,24 +7,50 @@ import org.assertj.core.api.Assertions
|
||||
import org.junit.jupiter.api.AfterAll
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.TestInstance
|
||||
import org.junit.jupiter.api.extension.ConditionEvaluationResult
|
||||
import org.junit.jupiter.api.extension.ExecutionCondition
|
||||
import org.junit.jupiter.api.extension.ExtendWith
|
||||
import org.junit.jupiter.api.extension.ExtensionContext
|
||||
|
||||
class Condition : ExecutionCondition {
|
||||
private val methods: Map<String, (BaseDayTest) -> Any?> = mapOf(
|
||||
"part1 example result" to { it.part1Example },
|
||||
"part1 result" to { it.part1Answer },
|
||||
"part2 example result" to { it.part2Example },
|
||||
"part2 result" to { it.part2Answer },
|
||||
)
|
||||
|
||||
override fun evaluateExecutionCondition(context: ExtensionContext): ConditionEvaluationResult {
|
||||
val methodName = context.testMethod.orElseGet { null }?.name
|
||||
methods[methodName]?.let {
|
||||
val instance = context.testInstance.get() as BaseDayTest
|
||||
if (it(instance) == null) return ConditionEvaluationResult.disabled("")
|
||||
}
|
||||
return ConditionEvaluationResult.enabled("")
|
||||
}
|
||||
}
|
||||
|
||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||
abstract class BaseDayTest(day: Int) {
|
||||
@ExtendWith(Condition::class)
|
||||
abstract class BaseDayTest() {
|
||||
|
||||
abstract val example: String
|
||||
|
||||
abstract val part1Example: Any
|
||||
abstract val part2Example: Any
|
||||
abstract val part1Example: Any?
|
||||
abstract val part1Answer: Any?
|
||||
|
||||
abstract val part1Answer: Any
|
||||
abstract val part2Answer: Any
|
||||
abstract val part2Example: Any?
|
||||
abstract val part2Answer: Any?
|
||||
|
||||
private val ctx = lazy {
|
||||
BeanContext.run()
|
||||
}
|
||||
|
||||
val instance: Any by lazy { ctx.value.getBean(ctx.value.findDayDefinition(day)) }
|
||||
private val day by lazy(LazyThreadSafetyMode.NONE) {
|
||||
this::class.java.simpleName.replace("Day", "").replace("Test", "").toInt()
|
||||
}
|
||||
|
||||
val instance by lazy { ctx.value.getBean(ctx.value.findDayDefinition(day)!!) }
|
||||
|
||||
private val exampleCtx = lazy {
|
||||
BeanContext.build()
|
||||
@@ -32,34 +58,31 @@ abstract class BaseDayTest(day: Int) {
|
||||
.start()
|
||||
}
|
||||
|
||||
val exampleInstance: Any by lazy { exampleCtx.value.getBean(exampleCtx.value.findDayDefinition(day)) }
|
||||
val exampleInstance by lazy { exampleCtx.value.getBean(exampleCtx.value.findDayDefinition(day)!!) }
|
||||
|
||||
@AfterAll
|
||||
fun `after all`() {
|
||||
arrayOf(ctx, exampleCtx).filter { it.isInitialized() }.forEach { it.value.stop() }
|
||||
}
|
||||
|
||||
private fun BeanContext.run(instance: Any, method: String) =
|
||||
findExecutionHandle<Any, Any>(instance, method).get().invoke()
|
||||
|
||||
@Test
|
||||
fun `part1 example result`() {
|
||||
Assertions.assertThat(ctx.value.run(exampleInstance, "part1")).isEqualTo(part1Example)
|
||||
Assertions.assertThat(exampleInstance.part1()).isEqualTo(part1Example)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `part1 result`() {
|
||||
Assertions.assertThat(ctx.value.run(instance, "part1")).isEqualTo(part1Answer)
|
||||
Assertions.assertThat(instance.part1()).isEqualTo(part1Answer)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `part2 example result`() {
|
||||
Assertions.assertThat(ctx.value.run(exampleInstance, "part2")).isEqualTo(part2Example)
|
||||
Assertions.assertThat(exampleInstance.part2()).isEqualTo(part2Example)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `part2 result`() {
|
||||
Assertions.assertThat(ctx.value.run(instance, "part2")).isEqualTo(part2Answer)
|
||||
Assertions.assertThat(instance.part2()).isEqualTo(part2Answer)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day01Test : BaseDayTest(1) {
|
||||
class Day01Test : BaseDayTest() {
|
||||
override val example = """
|
||||
199
|
||||
200
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day02Test : BaseDayTest(2) {
|
||||
class Day02Test : BaseDayTest() {
|
||||
override val example = """
|
||||
forward 5
|
||||
down 5
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day03Test : BaseDayTest() {
|
||||
override val example = """
|
||||
00100
|
||||
11110
|
||||
10110
|
||||
10111
|
||||
10101
|
||||
01111
|
||||
00111
|
||||
11100
|
||||
10000
|
||||
11001
|
||||
00010
|
||||
01010
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 198
|
||||
override val part2Example = 230
|
||||
|
||||
override val part1Answer = 3277364
|
||||
override val part2Answer = 5736383
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day04Test : BaseDayTest() {
|
||||
override val example = """
|
||||
7,4,9,5,11,17,23,2,0,14,21,24,10,16,13,6,15,25,12,22,18,20,8,19,3,26,1
|
||||
|
||||
22 13 17 11 0
|
||||
8 2 23 4 24
|
||||
21 9 14 16 7
|
||||
6 10 3 18 5
|
||||
1 12 20 15 19
|
||||
|
||||
3 15 0 2 22
|
||||
9 18 13 17 5
|
||||
19 8 7 25 23
|
||||
20 11 10 24 4
|
||||
14 21 16 12 6
|
||||
|
||||
14 21 17 24 4
|
||||
10 16 15 9 19
|
||||
18 8 23 26 20
|
||||
22 11 13 6 5
|
||||
2 0 12 3 7
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 4512
|
||||
override val part1Answer = 87456
|
||||
|
||||
override val part2Example = 1924
|
||||
override val part2Answer = 15561
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day05Test : BaseDayTest() {
|
||||
override val example = """
|
||||
0,9 -> 5,9
|
||||
8,0 -> 0,8
|
||||
9,4 -> 3,4
|
||||
2,2 -> 2,1
|
||||
7,0 -> 7,4
|
||||
6,4 -> 2,0
|
||||
0,9 -> 2,9
|
||||
3,4 -> 1,4
|
||||
0,0 -> 8,8
|
||||
5,5 -> 8,2
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 5
|
||||
override val part1Answer = 6841
|
||||
|
||||
override val part2Example = 12
|
||||
override val part2Answer = 19258
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day06Test : BaseDayTest() {
|
||||
override val example = """
|
||||
3,4,3,1,2
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 5934L
|
||||
override val part1Answer = 373378L
|
||||
|
||||
override val part2Example = 26984457539
|
||||
override val part2Answer = 1682576647495
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day07Test : BaseDayTest() {
|
||||
override val example = """
|
||||
16,1,2,0,4,2,7,1,2,14
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 37
|
||||
override val part1Answer = 336040
|
||||
|
||||
override val part2Example = 168
|
||||
override val part2Answer = 94813675
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day08Test : BaseDayTest() {
|
||||
override val example = """
|
||||
be cfbegad cbdgef fgaecd cgeb fdcge agebfd fecdb fabcd edb | fdgacbe cefdb cefbgd gcbe
|
||||
edbfga begcd cbg gc gcadebf fbgde acbgfd abcde gfcbed gfec | fcgedb cgb dgebacf gc
|
||||
fgaebd cg bdaec gdafb agbcfd gdcbef bgcad gfac gcb cdgabef | cg cg fdcagb cbg
|
||||
fbegcd cbd adcefb dageb afcb bc aefdc ecdab fgdeca fcdbega | efabcd cedba gadfec cb
|
||||
aecbfdg fbg gf bafeg dbefa fcge gcbea fcaegb dgceab fcbdga | gecf egdcabf bgf bfgea
|
||||
fgeab ca afcebg bdacfeg cfaedg gcfdb baec bfadeg bafgc acf | gebdcfa ecba ca fadegcb
|
||||
dbcfg fgd bdegcaf fgec aegbdf ecdfab fbedc dacgb gdcebf gf | cefg dcbef fcge gbcadfe
|
||||
bdfegc cbegaf gecbf dfcage bdacg ed bedf ced adcbefg gebcd | ed bcgafe cdgba cbgef
|
||||
egadfb cdbfeg cegd fecab cgb gbdefca cg fgcdab egfdb bfceg | gbdfcae bgc cg cgb
|
||||
gcafb gcf dcaebfg ecagb gf abcdeg gaef cafbge fdbac fegbdc | fgae cfgab fg bagce
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 26
|
||||
override val part1Answer = 303
|
||||
|
||||
override val part2Example = 61229
|
||||
override val part2Answer = 961734
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day09Test : BaseDayTest() {
|
||||
override val example = """
|
||||
2199943210
|
||||
3987894921
|
||||
9856789892
|
||||
8767896789
|
||||
9899965678
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 15
|
||||
override val part1Answer = 603
|
||||
|
||||
override val part2Example = 1134
|
||||
override val part2Answer = 786780
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day10Test : BaseDayTest() {
|
||||
override val example = """
|
||||
[({(<(())[]>[[{[]{<()<>>
|
||||
[(()[<>])]({[<{<<[]>>(
|
||||
{([(<{}[<>[]}>{[]{[(<()>
|
||||
(((({<>}<{<{<>}{[]{[]{}
|
||||
[[<[([]))<([[{}[[()]]]
|
||||
[{[{({}]{}}([{[{{{}}([]
|
||||
{<[[]]>}<{[{[{[]{()[[[]
|
||||
[<(<(<(<{}))><([]([]()
|
||||
<{([([[(<>()){}]>(<<{{
|
||||
<{([{{}}[<[[[<>{}]]]>[]]
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 26397
|
||||
override val part1Answer = 294195
|
||||
|
||||
override val part2Example = 288957L
|
||||
override val part2Answer = 3490802734L
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day11Test : BaseDayTest() {
|
||||
override val example = """
|
||||
5483143223
|
||||
2745854711
|
||||
5264556173
|
||||
6141336146
|
||||
6357385478
|
||||
4167524645
|
||||
2176841721
|
||||
6882881134
|
||||
4846848554
|
||||
5283751526
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 1656
|
||||
override val part1Answer = 1661
|
||||
|
||||
override val part2Example = 195
|
||||
override val part2Answer = 334
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day12Test : BaseDayTest() {
|
||||
override val example = """
|
||||
start-A
|
||||
start-b
|
||||
A-c
|
||||
A-b
|
||||
b-d
|
||||
A-end
|
||||
b-end
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 10
|
||||
override val part1Answer = 4413
|
||||
|
||||
override val part2Example = 36
|
||||
override val part2Answer = 118803
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
class Day14Test : BaseDayTest() {
|
||||
override val example = """
|
||||
NNCB
|
||||
|
||||
CH -> B
|
||||
HH -> N
|
||||
CB -> H
|
||||
NH -> C
|
||||
HB -> C
|
||||
HC -> B
|
||||
HN -> C
|
||||
NN -> C
|
||||
BH -> H
|
||||
NC -> B
|
||||
NB -> B
|
||||
BN -> B
|
||||
BB -> N
|
||||
BC -> B
|
||||
CC -> N
|
||||
CN -> C
|
||||
""".trimIndent()
|
||||
|
||||
override val part1Example = 1588L
|
||||
override val part1Answer = 3555L
|
||||
|
||||
override val part2Example = 2188189693529
|
||||
override val part2Answer = 4439442043739
|
||||
}
|
||||
@@ -2,10 +2,6 @@ plugins {
|
||||
`kotlin-dsl`
|
||||
}
|
||||
|
||||
kotlinDslPluginOptions {
|
||||
experimentalWarning.set(false)
|
||||
}
|
||||
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven { setUrl("https://kotlin.bintray.com/kotlinx") }
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
plugins {
|
||||
id("kotlin-convention")
|
||||
kotlin("kapt")
|
||||
id("application")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":utils"))
|
||||
|
||||
kapt(Libs.Micronaut.processor)
|
||||
|
||||
implementation(Libs.Slf4J.api)
|
||||
runtimeOnly(Libs.Slf4J.simple)
|
||||
|
||||
implementation(Libs.eclipseCollections)
|
||||
|
||||
testImplementation(Libs.Jmh.core)
|
||||
testImplementation(Libs.Slf4J.simple)
|
||||
kaptTest(Libs.Jmh.processor)
|
||||
kaptTest(Libs.Slf4J.simple)
|
||||
}
|
||||
@@ -5,7 +5,6 @@ plugins {
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven { url = uri("https://dl.bintray.com/arrow-kt/arrow-kt/") }
|
||||
maven { url = uri("https://kotlin.bintray.com/kotlinx") }
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
rootProject.name = "Advent of Code"
|
||||
include("utils")
|
||||
include("2020")
|
||||
include("2021")
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package be.vandewalleh.aoc.utils
|
||||
|
||||
import be.vandewalleh.aoc.utils.input.Input
|
||||
import jakarta.inject.Inject
|
||||
|
||||
abstract class BaseDay {
|
||||
|
||||
@Inject
|
||||
lateinit var input: Input
|
||||
|
||||
abstract fun part1(): Any
|
||||
abstract fun part2(): Any
|
||||
}
|
||||
@@ -3,6 +3,7 @@ package be.vandewalleh.aoc.utils
|
||||
import be.vandewalleh.aoc.utils.factory.findDayDefinition
|
||||
import io.micronaut.context.BeanContext
|
||||
import java.time.LocalDate
|
||||
import kotlin.system.measureTimeMillis
|
||||
|
||||
fun runDay(day: Int = LocalDate.now().dayOfMonth) {
|
||||
val ctx = BeanContext.run()
|
||||
@@ -14,23 +15,20 @@ fun runDay(day: Int = LocalDate.now().dayOfMonth) {
|
||||
}
|
||||
|
||||
val instance = ctx.getBean(definition)
|
||||
val part1Handle = ctx.findExecutionHandle<Any, Any>(instance, "part1")
|
||||
if (part1Handle.isEmpty) {
|
||||
println("part1() not found")
|
||||
return
|
||||
}
|
||||
|
||||
println("*** Day $day ***")
|
||||
println()
|
||||
println("part 1:")
|
||||
println(part1Handle.get().invoke())
|
||||
|
||||
println()
|
||||
val part2Handle = ctx.findExecutionHandle<Any, Any>(instance, "part2")
|
||||
if (part2Handle.isEmpty) {
|
||||
println("part2() not found")
|
||||
return
|
||||
val p1: Any
|
||||
val ms1 = measureTimeMillis {
|
||||
p1 = instance.part1()
|
||||
}
|
||||
println("part 2:")
|
||||
println(part2Handle.get().invoke())
|
||||
println("part 1 ($ms1 ms):")
|
||||
println(p1)
|
||||
|
||||
val p2: Any
|
||||
val ms2 = measureTimeMillis {
|
||||
p2 = instance.part2()
|
||||
}
|
||||
println("part 2 ($ms2 ms):")
|
||||
println(p2)
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
package be.vandewalleh.aoc.utils.factory
|
||||
|
||||
import be.vandewalleh.aoc.utils.BaseDay
|
||||
import be.vandewalleh.aoc.utils.input.TempFileResourceLoader
|
||||
import io.micronaut.context.BeanContext
|
||||
import io.micronaut.inject.BeanDefinition
|
||||
@@ -9,8 +10,8 @@ import java.io.File
|
||||
|
||||
fun <T> createDay(beanType: Class<T>): T = BeanContext.run().getBean(beanType)
|
||||
|
||||
fun BeanContext.findDayDefinition(day: Int): BeanDefinition<*>? = allBeanDefinitions
|
||||
.find { it.name == "be.vandewalleh.aoc.days.Day${day.toString().padStart(length = 2, '0')}" }
|
||||
fun BeanContext.findDayDefinition(day: Int): BeanDefinition<BaseDay>? = allBeanDefinitions
|
||||
.find { it.name == "be.vandewalleh.aoc.days.Day${day.toString().padStart(length = 2, '0')}" } as BeanDefinition<BaseDay>?
|
||||
|
||||
inline fun <reified T> createDay() = createDay(T::class.java)
|
||||
|
||||
|
||||
@@ -2,46 +2,13 @@
|
||||
|
||||
package be.vandewalleh.aoc.utils.input
|
||||
|
||||
import io.micronaut.context.annotation.Executable
|
||||
import io.micronaut.context.annotation.Prototype
|
||||
import io.micronaut.core.annotation.Introspected
|
||||
import jakarta.inject.Qualifier
|
||||
import java.lang.annotation.Inherited
|
||||
|
||||
@Prototype
|
||||
@Qualifier
|
||||
@Introspected
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
@Executable
|
||||
annotation class Day(val value: Int = -1)
|
||||
|
||||
@Qualifier
|
||||
@Prototype
|
||||
@Inherited
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class DayInput
|
||||
|
||||
@Qualifier
|
||||
@Prototype
|
||||
@Inherited
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Csv
|
||||
|
||||
@Qualifier
|
||||
@Prototype
|
||||
@Inherited
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Text
|
||||
|
||||
@Qualifier
|
||||
@Prototype
|
||||
@Inherited
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Lines
|
||||
|
||||
@Qualifier
|
||||
@Prototype
|
||||
@Inherited
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Groups
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package be.vandewalleh.aoc.utils.input
|
||||
|
||||
import org.intellij.lang.annotations.Language
|
||||
|
||||
class Input(private val value: String) {
|
||||
val text get() = value
|
||||
|
||||
val lines get() = Mapper(value.lines())
|
||||
val csv get() = Mapper(value.split(','))
|
||||
|
||||
fun findAll(@Language("RegExp") re: String): List<List<String>> =
|
||||
re.toRegex().findAll(value).map { it.groupValues.drop(1) }.toList()
|
||||
|
||||
class Mapper(val value: List<String>) {
|
||||
val ints get() = value.map { it.toInt() }
|
||||
val longs get() = value.map { it.toLong() }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,55 +1,26 @@
|
||||
package be.vandewalleh.aoc.utils.input
|
||||
|
||||
import io.micronaut.context.annotation.Factory
|
||||
import io.micronaut.context.annotation.Prototype
|
||||
import io.micronaut.inject.InjectionPoint
|
||||
import kotlin.io.path.ExperimentalPathApi
|
||||
import kotlin.io.path.readLines
|
||||
import kotlin.io.path.readText
|
||||
|
||||
@Factory
|
||||
@ExperimentalPathApi
|
||||
class InputFactory(private val resourceLoader: ResourceLoader) {
|
||||
|
||||
@Csv
|
||||
fun csvInts(injectionPoint: InjectionPoint<*>): IntArray =
|
||||
injectionPoint.csv().map { it.toInt() }.toIntArray()
|
||||
|
||||
@Csv
|
||||
fun csvLongs(injectionPoint: InjectionPoint<*>): LongArray =
|
||||
injectionPoint.csv().map { it.toLong() }.toLongArray()
|
||||
|
||||
private fun InjectionPoint<*>.csv() = read().split(",")
|
||||
|
||||
@Lines
|
||||
fun linesInts(injectionPoint: InjectionPoint<*>): IntArray =
|
||||
injectionPoint.lines().map { it.toInt() }.toList().toIntArray()
|
||||
|
||||
@Lines
|
||||
fun linesLongs(injectionPoint: InjectionPoint<*>): LongArray =
|
||||
injectionPoint.lines().map { it.toLong() }.toList().toLongArray()
|
||||
|
||||
@Lines
|
||||
fun lines(injectionPoint: InjectionPoint<*>): List<String> =
|
||||
injectionPoint.lines().toList()
|
||||
|
||||
@Text
|
||||
fun text(injectionPoint: InjectionPoint<*>): String =
|
||||
injectionPoint.read()
|
||||
|
||||
@Groups
|
||||
fun groups(injectionPoint: InjectionPoint<*>): List<List<String>> =
|
||||
injectionPoint.read().split("\n\n").map { it.lines() }
|
||||
|
||||
private fun InjectionPoint<*>.path() = resourceLoader.ofDay(getDay(this))
|
||||
private fun InjectionPoint<*>.read() = path().readText().trim()
|
||||
private fun InjectionPoint<*>.lines() = path().readLines()
|
||||
.asSequence()
|
||||
.filter { it.isNotBlank() }
|
||||
@Prototype
|
||||
fun input(injectionPoint: InjectionPoint<*>): Input {
|
||||
val day = getDay(injectionPoint)
|
||||
val path = resourceLoader.ofDay(day)
|
||||
return Input(path.readText().trim())
|
||||
}
|
||||
|
||||
private fun getDay(injectionPoint: InjectionPoint<*>): Int {
|
||||
val dayAnnotation = injectionPoint
|
||||
.declaringBean
|
||||
.findAnnotation<Day>()
|
||||
.findAnnotation(Day::class.java)
|
||||
|
||||
if (dayAnnotation.isEmpty)
|
||||
error("@DayInput cannot only be used on classes annotated with ${Day::class.qualifiedName}")
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
package be.vandewalleh.aoc.utils.input
|
||||
|
||||
import io.micronaut.core.annotation.AnnotationMetadataProvider
|
||||
import io.micronaut.core.annotation.AnnotationValue
|
||||
import java.util.*
|
||||
|
||||
internal inline fun <reified T : Annotation> AnnotationMetadataProvider.findAnnotation(): Optional<AnnotationValue<T>> =
|
||||
findAnnotation(T::class.java)
|
||||
@@ -1,81 +0,0 @@
|
||||
package be.vandewalleh.aoc.utils.input
|
||||
|
||||
import be.vandewalleh.aoc.utils.factory.createDay
|
||||
import com.google.common.jimfs.Jimfs
|
||||
import io.micronaut.context.annotation.Replaces
|
||||
import jakarta.inject.Singleton
|
||||
import kotlin.io.path.ExperimentalPathApi
|
||||
import kotlin.io.path.writeText
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
class DayTest {
|
||||
|
||||
@Singleton
|
||||
@Replaces(ResourceLoaderImpl::class)
|
||||
@ExperimentalPathApi
|
||||
class FakeResourceLoader : ResourceLoader {
|
||||
private val inMemoryFs = Jimfs.newFileSystem().apply {
|
||||
getPath("1").writeText("blablabla")
|
||||
getPath("2").writeText("1,+2,3,4,-5")
|
||||
getPath("3")
|
||||
.writeText(
|
||||
"""
|
||||
1779
|
||||
1737
|
||||
1537
|
||||
1167
|
||||
1804
|
||||
1873
|
||||
""".trimIndent()
|
||||
)
|
||||
getPath("4")
|
||||
.also { println(it) }
|
||||
.writeText(
|
||||
"""
|
||||
a
|
||||
bb
|
||||
ccc
|
||||
""".trimIndent()
|
||||
)
|
||||
}
|
||||
override fun ofDay(day: Int) = inMemoryFs.getPath(day.toString())
|
||||
}
|
||||
|
||||
@Day(1)
|
||||
class TextStringExample(@Text val input: String)
|
||||
|
||||
@Day(2)
|
||||
class CsvIntArrayExample(@Csv val input: IntArray)
|
||||
|
||||
@Day(3)
|
||||
class IntLinesExample(@Lines val input: IntArray)
|
||||
|
||||
@Day(4)
|
||||
class StringLinesExample(@Lines val input: List<String>)
|
||||
|
||||
@Test
|
||||
fun `check @Text String`() {
|
||||
val day = createDay<TextStringExample>()
|
||||
assertThat(day.input).isEqualTo("blablabla")
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `check @Csv IntArray`() {
|
||||
val day = createDay<CsvIntArrayExample>()
|
||||
assertThat(day.input).containsExactly(1, +2, 3, 4, -5)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `check @Lines IntArray`() {
|
||||
val day = createDay<IntLinesExample>()
|
||||
assertThat(day.input).containsExactly(1779, 1737, 1537, 1167, 1804, 1873)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `check @Lines strings`() {
|
||||
val day = createDay<StringLinesExample>()
|
||||
assertThat(day.input).containsExactly("a", "bb", "ccc")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user