結果

問題 No.201 yukicoderじゃんけん
ユーザー regeregeregerege
提出日時 2017-04-17 21:45:31
言語 F#
(F# 4.0)
結果
AC  
実行時間 186 ms / 5,000 ms
コード長 190 bytes
コンパイル時間 5,526 ms
コンパイル使用メモリ 153,444 KB
実行使用メモリ 29,268 KB
最終ジャッジ日時 2023-09-26 10:56:40
合計ジャッジ時間 7,398 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
25,036 KB
testcase_01 AC 92 ms
25,040 KB
testcase_02 AC 87 ms
23,072 KB
testcase_03 AC 91 ms
23,044 KB
testcase_04 AC 90 ms
23,096 KB
testcase_05 AC 90 ms
25,056 KB
testcase_06 AC 92 ms
23,000 KB
testcase_07 AC 89 ms
22,940 KB
testcase_08 AC 91 ms
22,848 KB
testcase_09 AC 92 ms
25,020 KB
testcase_10 AC 91 ms
23,040 KB
testcase_11 AC 89 ms
22,940 KB
testcase_12 AC 89 ms
22,936 KB
testcase_13 AC 92 ms
24,960 KB
testcase_14 AC 90 ms
23,100 KB
testcase_15 AC 183 ms
27,160 KB
testcase_16 AC 181 ms
29,168 KB
testcase_17 AC 186 ms
27,116 KB
testcase_18 AC 182 ms
27,132 KB
testcase_19 AC 182 ms
29,268 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let r() =
    let s = stdin.ReadLine().Split(' ')
    s.[0],bigint.Parse(s.[1]),s.[2]
let Sa,Pa,Xa = r()
let Sb,Pb,Xb = r()
if Pa = Pb then "-1"
elif Pa < Pb then Sb
else Sa
|> printfn "%s"
0