結果

問題 No.374 コイン
ユーザー kuuso1kuuso1
提出日時 2016-09-04 14:05:54
言語 F#
(F# 4.0)
結果
RE  
実行時間 -
コード長 318 bytes
コンパイル時間 11,027 ms
コンパイル使用メモリ 205,020 KB
実行使用メモリ 39,444 KB
最終ジャッジ日時 2024-04-27 16:29:18
合計ジャッジ時間 16,955 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
30,464 KB
testcase_01 AC 64 ms
30,464 KB
testcase_02 AC 65 ms
30,464 KB
testcase_03 AC 63 ms
30,716 KB
testcase_04 AC 62 ms
30,700 KB
testcase_05 AC 61 ms
30,720 KB
testcase_06 AC 63 ms
30,336 KB
testcase_07 AC 63 ms
30,712 KB
testcase_08 AC 61 ms
30,592 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 61 ms
30,592 KB
testcase_13 AC 65 ms
30,592 KB
testcase_14 AC 66 ms
30,680 KB
testcase_15 AC 64 ms
30,592 KB
testcase_16 AC 65 ms
30,592 KB
testcase_17 AC 64 ms
30,592 KB
testcase_18 AC 62 ms
30,592 KB
testcase_19 AC 63 ms
30,464 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 69 ms
30,592 KB
testcase_24 AC 65 ms
30,716 KB
testcase_25 AC 63 ms
30,676 KB
testcase_26 RE -
testcase_27 AC 64 ms
30,584 KB
testcase_28 RE -
testcase_29 RE -
testcase_30 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (258 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
/home/judge/data/code/Main.fs(8,13): warning FS0025: この式のパターン マッチが不完全です たとえば、値 '[|_; _; _|]' はパターンに含まれないケースを示す可能性があります。 [/home/judge/data/code/main.fsproj]
  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 ri () = stdin.ReadLine() |> int
let ria () = stdin.ReadLine().Split() |> Array.map int

type Sol() =
    member this.Solve() = 
        let [|A;B|] = ria ()
        let f a b = (if a < b then "K" else "S")
        
        f A B |> printfn "%s"
        
        ()
let mySol = new Sol()
mySol.Solve()
0