結果

問題 No.379 五円硬貨
ユーザー curryudon08
提出日時 2021-03-20 23:47:18
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 331 bytes
コンパイル時間 2,371 ms
コンパイル使用メモリ 113,512 KB
実行使用メモリ 27,264 KB
最終ジャッジ日時 2024-11-21 13:26:35
合計ジャッジ時間 3,550 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 10 WA * 6
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;

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