結果

問題 No.236 鴛鴦茶
ユーザー mencottonmencotton
提出日時 2017-12-30 00:08:25
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 374 bytes
コンパイル時間 4,692 ms
コンパイル使用メモリ 99,392 KB
実行使用メモリ 25,712 KB
最終ジャッジ日時 2023-09-10 22:14:07
合計ジャッジ時間 4,788 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
23,664 KB
testcase_01 AC 66 ms
25,616 KB
testcase_02 AC 65 ms
21,532 KB
testcase_03 AC 66 ms
23,552 KB
testcase_04 AC 66 ms
23,744 KB
testcase_05 AC 66 ms
25,672 KB
testcase_06 AC 66 ms
23,708 KB
testcase_07 AC 66 ms
25,620 KB
testcase_08 AC 66 ms
23,736 KB
testcase_09 AC 66 ms
23,748 KB
testcase_10 AC 67 ms
23,564 KB
testcase_11 AC 67 ms
23,900 KB
testcase_12 AC 66 ms
23,652 KB
testcase_13 AC 67 ms
25,592 KB
testcase_14 AC 65 ms
23,452 KB
testcase_15 AC 66 ms
23,820 KB
testcase_16 AC 66 ms
25,696 KB
testcase_17 AC 66 ms
23,592 KB
testcase_18 AC 67 ms
25,712 KB
testcase_19 AC 65 ms
21,776 KB
testcase_20 AC 65 ms
23,512 KB
testcase_21 AC 67 ms
23,740 KB
testcase_22 AC 66 ms
21,564 KB
testcase_23 AC 66 ms
23,604 KB
testcase_24 AC 66 ms
23,872 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            double[] x = Console.ReadLine().Split().Select(double.Parse).ToArray();
            Console.WriteLine(x[0] * x[3] > x[1] * x[2] ? x[2] + x[2] * x[1] / x[0] : x[3] + x[3] * x[0] / x[1]);
        }
    }
}
0