結果

問題 No.201 yukicoderじゃんけん
ユーザー chike_pluschike_plus
提出日時 2019-04-02 09:38:38
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 413 bytes
コンパイル時間 5,115 ms
コンパイル使用メモリ 155,892 KB
実行使用メモリ 24,328 KB
最終ジャッジ日時 2023-08-19 05:51:14
合計ジャッジ時間 7,077 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
24,264 KB
testcase_01 AC 50 ms
22,100 KB
testcase_02 AC 49 ms
24,324 KB
testcase_03 AC 49 ms
22,208 KB
testcase_04 WA -
testcase_05 AC 49 ms
22,228 KB
testcase_06 AC 50 ms
22,268 KB
testcase_07 AC 51 ms
24,252 KB
testcase_08 AC 50 ms
22,116 KB
testcase_09 AC 49 ms
22,240 KB
testcase_10 AC 50 ms
24,248 KB
testcase_11 AC 50 ms
22,172 KB
testcase_12 AC 50 ms
22,192 KB
testcase_13 AC 49 ms
20,212 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 49 ms
22,252 KB
testcase_17 AC 50 ms
22,144 KB
testcase_18 AC 49 ms
22,216 KB
testcase_19 AC 48 ms
22,148 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

/home/judge/data/code/Main.fs(9,9): warning FS0025: Incomplete pattern matches on this expression.

ソースコード

diff #

let ``No.201 yukicoderじゃんけん``() =

  let sa, pa, xa =
    stdin.ReadLine().Split(' ') |> fun args -> args.[0], args.[1], args.[2]

  let sb, pb, xb =
    stdin.ReadLine().Split(' ') |> fun args -> args.[0], args.[1], args.[2]

  match pa , pb with
  | a , b  when a > b -> sa
  | a , b  when a = b -> "-1"
  | a , b  when  a < b -> sb
  |> stdout.WriteLine
  

  ()
``No.201 yukicoderじゃんけん``()
0