結果

問題 No.427 テレビ
ユーザー fuzuirfuzuir
提出日時 2016-10-11 00:06:36
言語 F#
(F# 4.0)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 302 bytes
コンパイル時間 3,993 ms
コンパイル使用メモリ 163,016 KB
実行使用メモリ 24,272 KB
最終ジャッジ日時 2023-08-23 13:46:11
合計ジャッジ時間 5,033 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
24,136 KB
testcase_01 AC 58 ms
24,080 KB
testcase_02 AC 58 ms
24,156 KB
testcase_03 AC 58 ms
24,272 KB
testcase_04 AC 58 ms
22,156 KB
testcase_05 AC 58 ms
22,100 KB
testcase_06 AC 58 ms
22,104 KB
testcase_07 AC 59 ms
24,152 KB
testcase_08 AC 59 ms
22,020 KB
testcase_09 AC 58 ms
22,100 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System
 
let dprintfn fmt = Printf.kprintf Diagnostics.Debug.WriteLine fmt
 
[<EntryPoint>]
let main argv = 
    let h, w = Console.ReadLine().Trim().Split([|' '|]) |> Array.map int |> fun a -> a.[0], a.[1]
    if h > w then
     Console.WriteLine("TATE")
     else Console.WriteLine("YOKO")
    0
0