結果

問題 No.427 テレビ
ユーザー chike_pluschike_plus
提出日時 2019-03-27 07:17:51
言語 F#
(F# 4.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 332 bytes
コンパイル時間 6,612 ms
コンパイル使用メモリ 186,356 KB
実行使用メモリ 30,080 KB
最終ジャッジ日時 2024-04-19 09:24:30
合計ジャッジ時間 7,925 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
30,080 KB
testcase_01 AC 62 ms
29,952 KB
testcase_02 AC 61 ms
29,928 KB
testcase_03 AC 60 ms
29,824 KB
testcase_04 AC 62 ms
29,928 KB
testcase_05 AC 61 ms
29,928 KB
testcase_06 AC 61 ms
30,080 KB
testcase_07 AC 61 ms
29,824 KB
testcase_08 AC 61 ms
29,824 KB
testcase_09 AC 62 ms
29,824 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (222 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 ``No.427 テレビ``() =

  let (|TATE|YOKO|) (arg1, arg2) = if arg1 > arg2 then TATE else YOKO

  stdin.ReadLine().Split(' ')
  |> fun args -> args.[0] |> decimal, args.[1] |> decimal
  |> fun (h, w) ->
    match (h, w) with
    | TATE -> stdout.WriteLine "TATE"
    | YOKO -> stdout.WriteLine "YOKO"
  

``No.427 テレビ``()
0