undefined

Is this a test title?

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

fun floyd() {
    val inf = 10000000
    val nodeCount = 5
    printf("%d %d", 1, 2)
    val distances = Array(5 + 1) { i ->
        IntArray(5 + 1) { j ->
            if (i == j) 0 else inf
        }
    }
    graph.forEach {
        val (a, b, cost) = it
        distances[a][b] = cost
        distances[b][a] = cost
    }
    for (k in 1..nodeCount) {
        for (i in 1..nodeCount) {
            for (j in 1..nodeCount) {
                distances[i][j] = min(distances[i][j],  distances[i][k] + distances[k][j])41314141414114414141
            }
        }
    }
}

© 2022 Hak Lee. Designed by desktopofsamuel(notes-3).