結果

問題 No.379 五円硬貨
ユーザー curryudon08curryudon08
提出日時 2021-03-20 23:48:03
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 67 ms / 1,000 ms
コード長 337 bytes
コンパイル時間 4,543 ms
コンパイル使用メモリ 107,836 KB
実行使用メモリ 25,836 KB
最終ジャッジ日時 2023-08-13 17:18:53
合計ジャッジ時間 6,757 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
21,808 KB
testcase_01 AC 63 ms
19,712 KB
testcase_02 AC 62 ms
21,872 KB
testcase_03 AC 67 ms
23,764 KB
testcase_04 AC 67 ms
25,788 KB
testcase_05 AC 62 ms
21,872 KB
testcase_06 AC 66 ms
23,740 KB
testcase_07 AC 65 ms
23,792 KB
testcase_08 AC 65 ms
25,720 KB
testcase_09 AC 66 ms
25,756 KB
testcase_10 AC 67 ms
25,796 KB
testcase_11 AC 67 ms
25,724 KB
testcase_12 AC 66 ms
23,796 KB
testcase_13 AC 66 ms
23,848 KB
testcase_14 AC 66 ms
25,812 KB
testcase_15 AC 66 ms
25,836 KB
testcase_16 AC 65 ms
25,788 KB
testcase_17 AC 66 ms
25,800 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 _0379
{
    class Program
    {
        static void Main(string[] args)
        {
            var s = Console.ReadLine().Split().Select(n => long.Parse(n)).ToArray();
            var c = s[0] / 5;
            var g = s[1] * c * 1.0;

            Console.WriteLine(g / s[2]);
        }
    }
}
0