Skip to content

Instantly share code, notes, and snippets.

View cdiamon's full-sized avatar

Dmitriy Pavlukhin cdiamon

  • Bolt
  • Tallinn, Estonia
View GitHub Profile
2019-10-10 16:59:51.753 16861-16971/ru.somecompany.someproject W/somecompany.hom: Accessing hidden method Lsun/misc/Unsafe;->putOrderedLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
2019-10-10 16:59:51.766 16861-16861/ru.somecompany.someproject W/libOpenSLES: class OutputMix interface 0 requested but unavailable MPH=43
--------- beginning of crash
2019-10-10 16:59:51.773 16861-16997/ru.somecompany.someproject A/libc: FORTIFY: %n not allowed on Android
2019-10-10 16:59:51.773 16861-16997/ru.somecompany.someproject A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 16997 (VlcObject), pid 16861 (somecompany.someproject)
2019-10-10 16:59:51.823 17001-17001/? E/DEBUG: failed to readlink /proc/16997/fd/117: No such file or directory
2019-10-10 16:59:51.823 17001-17001/? E/DEBUG: failed to readlink /proc/16997/fd/126: No such file or directory
2019-10-10 16:59:51.823 17001-17001/? E/DEBUG: failed to readlink /proc/16997/fd/131: No such file or directory
import java.util.*
import kotlin.collections.HashMap
fun main() {
println(findRoute(4, 57).contentToString())
}
fun findRoute(start: Int, end: Int): IntArray {