結果

問題 No.379 五円硬貨
ユーザー qwrtpsfgqwrtpsfg
提出日時 2017-08-28 21:28:05
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 29 ms / 1,000 ms
コード長 353 bytes
コンパイル時間 799 ms
コンパイル使用メモリ 111,924 KB
実行使用メモリ 28,300 KB
最終ジャッジ日時 2024-04-24 01:56:33
合計ジャッジ時間 1,944 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
25,104 KB
testcase_01 AC 26 ms
24,980 KB
testcase_02 AC 26 ms
25,108 KB
testcase_03 AC 27 ms
26,256 KB
testcase_04 AC 26 ms
26,000 KB
testcase_05 AC 26 ms
25,104 KB
testcase_06 AC 28 ms
26,264 KB
testcase_07 AC 28 ms
28,044 KB
testcase_08 AC 27 ms
26,000 KB
testcase_09 AC 28 ms
28,300 KB
testcase_10 AC 29 ms
28,036 KB
testcase_11 AC 27 ms
26,032 KB
testcase_12 AC 26 ms
26,132 KB
testcase_13 AC 27 ms
27,908 KB
testcase_14 AC 26 ms
26,004 KB
testcase_15 AC 25 ms
28,056 KB
testcase_16 AC 24 ms
26,260 KB
testcase_17 AC 25 ms
28,296 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;

public class yukicoder
{
    public static void Main()
    {
		double[] input = Console.ReadLine().Split(' ').Select(c => double.Parse(c)).ToArray();
		double n = input[0];
		double g = input[1];
		double v = input[2];
		
		Console.WriteLine(Math.Truncate(n / 5) * (g / v));

    }
}

0