結果

問題 No.379 五円硬貨
ユーザー qwrtpsfg
提出日時 2017-08-28 21:28:05
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 353 bytes
コンパイル時間 973 ms
コンパイル使用メモリ 112,184 KB
実行使用メモリ 28,172 KB
最終ジャッジ日時 2024-11-06 08:36:16
合計ジャッジ時間 2,257 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます
コンパイルメッセージ
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