結果

問題 No.427 テレビ
ユーザー minokasagominokasago
提出日時 2019-11-01 18:14:26
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 199 bytes
コンパイル時間 13,725 ms
コンパイル使用メモリ 415,560 KB
実行使用メモリ 53,104 KB
最終ジャッジ日時 2023-10-13 00:53:45
合計ジャッジ時間 18,090 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 287 ms
52,560 KB
testcase_01 AC 284 ms
52,744 KB
testcase_02 AC 287 ms
53,104 KB
testcase_03 AC 285 ms
52,928 KB
testcase_04 AC 285 ms
52,868 KB
testcase_05 AC 288 ms
52,828 KB
testcase_06 AC 286 ms
52,876 KB
testcase_07 AC 286 ms
52,668 KB
testcase_08 WA -
testcase_09 AC 290 ms
52,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import kotlin.math.*

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

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