結果

問題 No.374 コイン
ユーザー kuuso1kuuso1
提出日時 2016-09-04 14:07:28
言語 F#
(F# 4.0)
結果
AC  
実行時間 72 ms / 1,000 ms
コード長 336 bytes
コンパイル時間 11,983 ms
コンパイル使用メモリ 199,480 KB
実行使用メモリ 32,644 KB
最終ジャッジ日時 2024-04-27 16:29:34
合計ジャッジ時間 15,777 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
30,848 KB
testcase_01 AC 69 ms
30,720 KB
testcase_02 AC 70 ms
30,456 KB
testcase_03 AC 69 ms
30,432 KB
testcase_04 AC 69 ms
30,592 KB
testcase_05 AC 69 ms
30,336 KB
testcase_06 AC 70 ms
30,704 KB
testcase_07 AC 69 ms
30,592 KB
testcase_08 AC 70 ms
30,720 KB
testcase_09 AC 69 ms
30,464 KB
testcase_10 AC 70 ms
32,644 KB
testcase_11 AC 72 ms
30,592 KB
testcase_12 AC 70 ms
30,720 KB
testcase_13 AC 69 ms
30,720 KB
testcase_14 AC 69 ms
30,592 KB
testcase_15 AC 69 ms
30,592 KB
testcase_16 AC 70 ms
30,848 KB
testcase_17 AC 70 ms
30,720 KB
testcase_18 AC 69 ms
30,720 KB
testcase_19 AC 69 ms
30,720 KB
testcase_20 AC 70 ms
30,592 KB
testcase_21 AC 68 ms
30,464 KB
testcase_22 AC 70 ms
30,592 KB
testcase_23 AC 72 ms
30,708 KB
testcase_24 AC 70 ms
30,416 KB
testcase_25 AC 70 ms
30,708 KB
testcase_26 AC 69 ms
30,592 KB
testcase_27 AC 69 ms
30,416 KB
testcase_28 AC 70 ms
30,464 KB
testcase_29 AC 70 ms
30,592 KB
testcase_30 AC 68 ms
30,712 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (274 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 rla () = stdin.ReadLine().Split() |> Array.map int64

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