結果

問題 No.379 五円硬貨
ユーザー mencottonmencotton
提出日時 2018-02-18 13:48:08
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 65 ms / 1,000 ms
コード長 392 bytes
コンパイル時間 4,111 ms
コンパイル使用メモリ 102,440 KB
実行使用メモリ 25,780 KB
最終ジャッジ日時 2023-09-06 18:19:36
合計ジャッジ時間 4,333 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
21,880 KB
testcase_01 AC 61 ms
21,840 KB
testcase_02 AC 61 ms
23,880 KB
testcase_03 AC 63 ms
23,792 KB
testcase_04 AC 63 ms
23,696 KB
testcase_05 AC 61 ms
21,776 KB
testcase_06 AC 64 ms
23,816 KB
testcase_07 AC 64 ms
23,656 KB
testcase_08 AC 64 ms
23,844 KB
testcase_09 AC 65 ms
25,688 KB
testcase_10 AC 64 ms
23,844 KB
testcase_11 AC 64 ms
23,724 KB
testcase_12 AC 64 ms
21,764 KB
testcase_13 AC 63 ms
21,804 KB
testcase_14 AC 63 ms
25,780 KB
testcase_15 AC 64 ms
23,648 KB
testcase_16 AC 63 ms
23,672 KB
testcase_17 AC 65 ms
21,716 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.Linq;

namespace _379
{
    class Program
    {
        static void Main(string[] args)
        {
            long[] x = Console.ReadLine().Split().Select(long.Parse).ToArray();
            x[0] /= 5;
            long a = x[0] * x[1];
            long b = x[2];
            double ret = a;
            ret /= b;
            Console.WriteLine(ret);
        }
    }
}
0