結果
| 問題 | No.410 出会い |
| コンテスト | |
| ユーザー |
kuuso1
|
| 提出日時 | 2016-08-16 06:58:10 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 73 ms / 2,000 ms |
| コード長 | 386 bytes |
| 記録 | |
| コンパイル時間 | 5,151 ms |
| コンパイル使用メモリ | 203,924 KB |
| 実行使用メモリ | 31,616 KB |
| 最終ジャッジ日時 | 2026-03-17 02:23:27 |
| 合計ジャッジ時間 | 7,236 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (171 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
open System
type Sol() =
member this.Solve() =
let (Px,Py) = Console.ReadLine().Split(' ') |> Array.map double |> fun xs -> (xs.[0],xs.[1])
let (Qx,Qy) = Console.ReadLine().Split(' ') |> Array.map double |> fun xs -> (xs.[0],xs.[1])
let ans = abs(Px - Qx) + abs(Py - Qy) |> fun x -> x/2.0
Console.WriteLine(ans)
let mySol = new Sol()
mySol.Solve()
kuuso1