結果

問題 No.1230 Hall_and_me
ユーザー bluemeganebluemegane
提出日時 2020-09-19 07:34:31
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 66 ms / 2,000 ms
コード長 368 bytes
コンパイル時間 2,350 ms
コンパイル使用メモリ 65,292 KB
実行使用メモリ 24,796 KB
最終ジャッジ日時 2023-09-05 07:43:12
合計ジャッジ時間 5,149 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
22,652 KB
testcase_01 AC 63 ms
22,672 KB
testcase_02 AC 63 ms
24,796 KB
testcase_03 AC 63 ms
22,652 KB
testcase_04 AC 63 ms
22,600 KB
testcase_05 AC 64 ms
22,708 KB
testcase_06 AC 63 ms
22,764 KB
testcase_07 AC 66 ms
22,708 KB
testcase_08 AC 63 ms
20,812 KB
testcase_09 AC 63 ms
20,700 KB
testcase_10 AC 63 ms
24,684 KB
testcase_11 AC 62 ms
20,808 KB
testcase_12 AC 62 ms
20,548 KB
testcase_13 AC 62 ms
22,836 KB
testcase_14 AC 63 ms
22,800 KB
testcase_15 AC 63 ms
22,704 KB
testcase_16 AC 63 ms
22,720 KB
testcase_17 AC 63 ms
22,776 KB
testcase_18 AC 62 ms
22,688 KB
testcase_19 AC 62 ms
22,788 KB
testcase_20 AC 64 ms
24,652 KB
testcase_21 AC 63 ms
24,752 KB
testcase_22 AC 64 ms
24,656 KB
testcase_23 AC 63 ms
22,656 KB
testcase_24 AC 63 ms
24,716 KB
testcase_25 AC 63 ms
22,740 KB
testcase_26 AC 63 ms
24,736 KB
testcase_27 AC 62 ms
20,672 KB
testcase_28 AC 63 ms
22,660 KB
testcase_29 AC 63 ms
22,600 KB
testcase_30 AC 62 ms
20,748 KB
testcase_31 AC 63 ms
22,688 KB
testcase_32 AC 63 ms
22,756 KB
testcase_33 AC 63 ms
24,728 KB
testcase_34 AC 63 ms
22,664 KB
testcase_35 AC 62 ms
22,580 KB
testcase_36 AC 62 ms
24,572 KB
testcase_37 AC 62 ms
22,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using static System.Math;
using System;

public class Hello
{
    static void Main()
    {
        string[] line = Console.ReadLine().Trim().Split(' ');
        var p = int.Parse(line[0]);
        var q = int.Parse(line[1]);
        var r = int.Parse(line[2]);
        var t = Max(p + q, Max(q + r, r + p));
        Console.WriteLine((double)t / (p + q + r));
    }
}
0