ارسال شماره 956

← همه ارسال‌ها

fun main() {
    val (x1, y1) = readLine()!!.split(" ").map { it.toLong() }
    val (x2, y2) = readLine()!!.split(" ").map { it.toLong() }
    val (x3, y3) = readLine()!!.split(" ").map { it.toLong() }

    println(if ((x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1) != 0L) "Yes" else "No")
}