結果

問題 No.264 じゃんけん
ユーザー hum_ophum_op
提出日時 2016-04-04 22:33:19
言語 F#
(F# 4.0)
結果
AC  
実行時間 64 ms / 5,000 ms
コード長 288 bytes
コンパイル時間 6,834 ms
コンパイル使用メモリ 186,472 KB
実行使用メモリ 32,128 KB
最終ジャッジ日時 2024-04-14 21:34:37
合計ジャッジ時間 7,849 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
31,872 KB
testcase_01 AC 62 ms
31,744 KB
testcase_02 AC 62 ms
31,744 KB
testcase_03 AC 63 ms
31,996 KB
testcase_04 AC 63 ms
31,744 KB
testcase_05 AC 62 ms
32,128 KB
testcase_06 AC 62 ms
32,000 KB
testcase_07 AC 62 ms
31,872 KB
testcase_08 AC 61 ms
31,616 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (232 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 #

open System

let No264 () =
    let IN = Console.ReadLine().Split(' ')
    let N, K = Int32.Parse IN.[0], Int32.Parse IN.[1]

    if N = K then
        printfn "Drew"
    elif N + 1 = K || ( N + 1 = 3 && K = 0 )then
        printfn "Won"
    else
        printfn "Lost"

    ()

No264 () 
0