結果

問題 No.218 経験値1.5倍
ユーザー qwrtpsfg
提出日時 2017-08-17 21:17:22
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 512 bytes
コンパイル時間 2,348 ms
コンパイル使用メモリ 109,348 KB
実行使用メモリ 18,048 KB
最終ジャッジ日時 2024-12-29 16:09:11
合計ジャッジ時間 4,171 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.Collections.Generic;
using System.Linq;

public class yukicoder
{
    public static void Main()
    {
        double a = double.Parse(Console.ReadLine());
        double b = double.Parse(Console.ReadLine());
        double c = double.Parse(Console.ReadLine());
        
        double x = Math.Ceiling(a / b);
        double y = Math.Ceiling(a / c);
        
        if(y <= (x * 2 / 3))
            Console.WriteLine("YES");
        else
            Console.WriteLine("NO");

    }
}
0