結果

問題 No.427 テレビ
ユーザー minokasagominokasago
提出日時 2019-11-01 18:15:19
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 292 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 14,222 ms
コンパイル使用メモリ 419,136 KB
実行使用メモリ 52,952 KB
最終ジャッジ日時 2023-10-13 00:54:31
合計ジャッジ時間 16,260 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 292 ms
52,860 KB
testcase_01 AC 290 ms
52,928 KB
testcase_02 AC 288 ms
52,596 KB
testcase_03 AC 287 ms
52,848 KB
testcase_04 AC 291 ms
52,676 KB
testcase_05 AC 289 ms
52,668 KB
testcase_06 AC 288 ms
52,636 KB
testcase_07 AC 288 ms
52,952 KB
testcase_08 AC 285 ms
52,484 KB
testcase_09 AC 287 ms
52,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import kotlin.math.*

fun main()
{
    val (H, W) = readLine()!!.split(" ").map(String::toInt)

    if (H%4 == 0 && H/4*3 == W) {
        println("TATE")
    } else {
        println("YOKO")
    }
}
0