結果

問題 No.218 経験値1.5倍
ユーザー pirorirori_n712
提出日時 2018-09-19 01:21:32
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 395 bytes
コンパイル時間 778 ms
コンパイル使用メモリ 103,552 KB
実行使用メモリ 17,792 KB
最終ジャッジ日時 2024-07-18 08:10:55
合計ジャッジ時間 2,179 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;

class No218
{
    static void Main()
    {
        var array = new double[3];
        for (int i = 0; i < 3; ++i)
        {
            array[i] = Double.Parse(Console.ReadLine());
        }
        var h = Math.Floor(Math.Ceiling(array[0] / array[1]) / 3* 2);
        //var k=h<1?1:h;
        Console.WriteLine(h * array[2] >= array[0] ? "YES" : "NO");
    }
}
0