結果

問題 No.410 出会い
ユーザー Michae'GonMichae'Gon
提出日時 2017-02-21 01:57:40
言語 F#
(F# 4.0)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 3,949 ms
コンパイル使用メモリ 160,220 KB
実行使用メモリ 25,816 KB
最終ジャッジ日時 2023-09-10 20:15:45
合計ジャッジ時間 5,952 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
23,776 KB
testcase_01 AC 68 ms
23,736 KB
testcase_02 AC 67 ms
23,812 KB
testcase_03 AC 68 ms
23,736 KB
testcase_04 AC 69 ms
25,756 KB
testcase_05 AC 69 ms
23,768 KB
testcase_06 AC 66 ms
23,744 KB
testcase_07 AC 67 ms
23,700 KB
testcase_08 AC 67 ms
23,736 KB
testcase_09 AC 68 ms
23,808 KB
testcase_10 AC 68 ms
23,716 KB
testcase_11 AC 69 ms
23,512 KB
testcase_12 AC 67 ms
23,708 KB
testcase_13 AC 67 ms
23,880 KB
testcase_14 AC 68 ms
23,696 KB
testcase_15 AC 68 ms
23,816 KB
testcase_16 AC 67 ms
23,800 KB
testcase_17 AC 67 ms
25,816 KB
testcase_18 AC 68 ms
21,644 KB
testcase_19 AC 67 ms
23,676 KB
testcase_20 AC 70 ms
23,716 KB
testcase_21 AC 71 ms
23,636 KB
testcase_22 AC 67 ms
23,840 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

module Main
open System
let ps = Console.ReadLine().Split(' ')
        |> Array.map float

let qs = Console.ReadLine().Split(' ')
        |> Array.map float

Console.WriteLine( (abs(ps.[0] - qs.[0]) + abs(ps.[1] - qs.[1])) / 2.0)
0