結果

問題 No.383 レーティング
ユーザー taktak
提出日時 2018-03-20 23:00:51
言語 F#
(F# 4.0)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 208 bytes
コンパイル時間 4,953 ms
コンパイル使用メモリ 160,604 KB
実行使用メモリ 24,996 KB
最終ジャッジ日時 2023-09-06 23:50:49
合計ジャッジ時間 7,230 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
22,864 KB
testcase_01 AC 84 ms
24,956 KB
testcase_02 AC 67 ms
22,484 KB
testcase_03 AC 81 ms
22,864 KB
testcase_04 AC 82 ms
24,856 KB
testcase_05 AC 81 ms
22,916 KB
testcase_06 AC 82 ms
20,904 KB
testcase_07 AC 82 ms
23,000 KB
testcase_08 AC 82 ms
24,876 KB
testcase_09 AC 82 ms
20,820 KB
testcase_10 AC 82 ms
22,916 KB
testcase_11 AC 84 ms
24,996 KB
testcase_12 AC 83 ms
22,976 KB
testcase_13 AC 82 ms
20,804 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System

let a,b = 
    let t = Console.ReadLine().Split()
            |> Array.map(int)
    t.[0],t.[1]

match compare a b with
| 1 -> printfn "%i"  <| b-a
| 0 -> printfn "0"
| _ -> printfn "+%i" <| b-a
0