結果

問題 No.410 出会い
ユーザー claw88claw88
提出日時 2016-08-13 17:30:19
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 66 ms / 2,000 ms
コード長 324 bytes
コンパイル時間 3,299 ms
コンパイル使用メモリ 104,736 KB
実行使用メモリ 24,640 KB
最終ジャッジ日時 2023-09-10 19:58:53
合計ジャッジ時間 4,598 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
24,600 KB
testcase_01 AC 65 ms
22,440 KB
testcase_02 AC 66 ms
22,644 KB
testcase_03 AC 66 ms
22,540 KB
testcase_04 AC 65 ms
22,424 KB
testcase_05 AC 66 ms
24,608 KB
testcase_06 AC 66 ms
24,640 KB
testcase_07 AC 65 ms
22,640 KB
testcase_08 AC 64 ms
22,484 KB
testcase_09 AC 64 ms
22,756 KB
testcase_10 AC 64 ms
22,540 KB
testcase_11 AC 64 ms
22,424 KB
testcase_12 AC 65 ms
22,480 KB
testcase_13 AC 65 ms
22,736 KB
testcase_14 AC 66 ms
22,816 KB
testcase_15 AC 65 ms
22,756 KB
testcase_16 AC 65 ms
22,608 KB
testcase_17 AC 65 ms
20,656 KB
testcase_18 AC 64 ms
22,532 KB
testcase_19 AC 64 ms
20,704 KB
testcase_20 AC 64 ms
22,428 KB
testcase_21 AC 64 ms
24,640 KB
testcase_22 AC 65 ms
22,816 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program
{
    static void Main()
    {
     var a  =  scan();
     var b  =  scan();
     double c = Math.Abs(a[0]-b[0])+Math.Abs(a[1]-b[1]);
     c/=2;
     Console.WriteLine(c);
    }
    static double[] scan()
    {
        return Array.ConvertAll(Console.ReadLine().Split(' '),double.Parse);
    }
}
0