結果

問題 No.218 経験値1.5倍
ユーザー kmtrc130kmtrc130
提出日時 2019-03-19 10:23:42
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 531 bytes
コンパイル時間 3,669 ms
コンパイル使用メモリ 103,160 KB
実行使用メモリ 22,896 KB
最終ジャッジ日時 2023-10-11 15:04:25
合計ジャッジ時間 6,777 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
22,836 KB
testcase_01 AC 57 ms
20,684 KB
testcase_02 AC 57 ms
22,876 KB
testcase_03 AC 57 ms
22,720 KB
testcase_04 AC 56 ms
20,780 KB
testcase_05 AC 57 ms
20,684 KB
testcase_06 AC 57 ms
20,744 KB
testcase_07 AC 57 ms
20,736 KB
testcase_08 AC 57 ms
20,688 KB
testcase_09 AC 58 ms
22,828 KB
testcase_10 AC 57 ms
20,652 KB
testcase_11 AC 57 ms
20,732 KB
testcase_12 AC 58 ms
22,704 KB
testcase_13 AC 58 ms
22,796 KB
testcase_14 AC 57 ms
20,856 KB
testcase_15 AC 58 ms
22,820 KB
testcase_16 AC 57 ms
20,764 KB
testcase_17 AC 58 ms
20,832 KB
testcase_18 AC 58 ms
22,796 KB
testcase_19 AC 58 ms
20,836 KB
testcase_20 AC 57 ms
20,692 KB
testcase_21 AC 58 ms
22,896 KB
testcase_22 AC 58 ms
20,752 KB
testcase_23 AC 57 ms
20,832 KB
testcase_24 AC 58 ms
20,744 KB
testcase_25 AC 57 ms
20,744 KB
testcase_26 AC 59 ms
22,692 KB
testcase_27 AC 57 ms
20,652 KB
testcase_28 AC 58 ms
22,688 KB
testcase_29 AC 58 ms
20,752 KB
testcase_30 AC 58 ms
20,756 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.Collections.Generic;
using System.Linq;

class Program
{
    public void Solve()
    {
        int a = int.Parse(Console.ReadLine());
        int b = int.Parse(Console.ReadLine());
        int c = int.Parse(Console.ReadLine());

        decimal maxB = Math.Ceiling((decimal)a / b);
        decimal maxC = Math.Ceiling((decimal)a / c);

        Console.WriteLine(maxC <= maxB * 2 / 3 ? "YES" : "NO");
    }

    static void Main()
    {
        var solver = new Program();
        solver.Solve();
    }
}
0