結果

問題 No.379 五円硬貨
ユーザー swdamdrswdamdr
提出日時 2017-02-23 10:46:09
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 67 ms / 1,000 ms
コード長 326 bytes
コンパイル時間 2,805 ms
コンパイル使用メモリ 104,396 KB
実行使用メモリ 25,848 KB
最終ジャッジ日時 2023-08-30 21:17:14
合計ジャッジ時間 4,210 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
23,832 KB
testcase_01 AC 62 ms
21,748 KB
testcase_02 AC 62 ms
23,840 KB
testcase_03 AC 64 ms
23,660 KB
testcase_04 AC 63 ms
23,648 KB
testcase_05 AC 60 ms
19,912 KB
testcase_06 AC 63 ms
21,624 KB
testcase_07 AC 66 ms
23,664 KB
testcase_08 AC 64 ms
25,728 KB
testcase_09 AC 65 ms
23,568 KB
testcase_10 AC 65 ms
25,764 KB
testcase_11 AC 65 ms
25,848 KB
testcase_12 AC 65 ms
25,684 KB
testcase_13 AC 67 ms
23,700 KB
testcase_14 AC 66 ms
23,688 KB
testcase_15 AC 67 ms
25,700 KB
testcase_16 AC 64 ms
23,656 KB
testcase_17 AC 64 ms
23,616 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;
using System.Collections.Generic;

class Program
{
    static void Main(string[] args)
    {
        long[] su = Console.ReadLine().Split().Select(long.Parse).ToArray();

        long coin5 = su[0] / 5;

        Console.WriteLine((double)coin5 * su[1] / su[2]);
        Console.Read();
    }
}
0