結果

問題 No.427 テレビ
ユーザー pekempey
提出日時 2017-01-27 18:10:19
言語 F#
(F# 4.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 15,537 ms
コンパイル使用メモリ 184,484 KB
実行使用メモリ 29,184 KB
最終ジャッジ日時 2024-12-23 15:48:17
合計ジャッジ時間 16,898 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (349 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

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