結果

問題 No.410 出会い
ユーザー hum_ophum_op
提出日時 2016-08-19 10:40:57
言語 F#
(F# 4.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 305 bytes
コンパイル時間 4,343 ms
コンパイル使用メモリ 159,108 KB
実行使用メモリ 26,936 KB
最終ジャッジ日時 2023-09-10 20:03:43
合計ジャッジ時間 7,438 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 95 ms
24,916 KB
testcase_01 AC 95 ms
24,940 KB
testcase_02 AC 94 ms
24,724 KB
testcase_03 AC 93 ms
24,804 KB
testcase_04 AC 92 ms
24,880 KB
testcase_05 AC 94 ms
24,736 KB
testcase_06 AC 93 ms
24,696 KB
testcase_07 AC 90 ms
24,812 KB
testcase_08 AC 92 ms
24,896 KB
testcase_09 AC 94 ms
26,936 KB
testcase_10 AC 92 ms
24,880 KB
testcase_11 AC 92 ms
24,804 KB
testcase_12 AC 91 ms
26,772 KB
testcase_13 AC 93 ms
24,700 KB
testcase_14 AC 93 ms
24,832 KB
testcase_15 AC 92 ms
24,936 KB
testcase_16 AC 92 ms
24,876 KB
testcase_17 AC 93 ms
24,868 KB
testcase_18 AC 93 ms
24,928 KB
testcase_19 AC 92 ms
24,912 KB
testcase_20 AC 94 ms
24,892 KB
testcase_21 AC 93 ms
26,876 KB
testcase_22 AC 93 ms
26,876 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 No410 () =
    let P = Console.ReadLine().Split(' ')
    let Q = Console.ReadLine().Split(' ')
    let s = Math.Abs(((Double.Parse P.[0]) - (Double.Parse Q.[0])))
    let s = s + Math.Abs((Double.Parse P.[1] - (Double.Parse Q.[1])))
    let s = s / 2.0
    printfn "%f" s
    ()

No410 ()
0