結果

問題 No.427 テレビ
ユーザー tanson
提出日時 2025-10-04 00:31:53
言語 Standard ML
(MLton 20210117)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 270 bytes
コンパイル時間 7,719 ms
コンパイル使用メモリ 686,972 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-10-04 00:32:02
合計ジャッジ時間 8,180 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

fun readInt () =
    valOf (TextIO.scanStream (Int.scan StringCvt.DEC) TextIO.stdIn)


val () =
    let
        val h = readInt ()
        val w = readInt ()

        val ans = if h > w then "TATE"
                  else "YOKO"
    in
        print (ans ^ "\n")
    end
0