結果

問題 No.427 テレビ
ユーザー pekempeypekempey
提出日時 2017-01-27 18:10:19
言語 F#
(F# 4.0)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 5,114 ms
コンパイル使用メモリ 160,556 KB
実行使用メモリ 24,196 KB
最終ジャッジ日時 2023-08-25 03:39:51
合計ジャッジ時間 5,379 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

let solve H W = 
    if H < W then "YOKO" else "TATE"

let H, W = System.Console.ReadLine().Split() |> Array.map int |> fun x -> x.[0], x.[1]

System.Console.WriteLine(solve H W)

0