結果

問題 No.218 経験値1.5倍
ユーザー NoNo
提出日時 2015-06-10 20:01:46
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 56 ms / 2,000 ms
コード長 1,288 bytes
コンパイル時間 2,234 ms
コンパイル使用メモリ 104,936 KB
実行使用メモリ 22,892 KB
最終ジャッジ日時 2023-08-28 14:09:43
合計ジャッジ時間 5,029 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
20,740 KB
testcase_01 AC 53 ms
20,736 KB
testcase_02 AC 53 ms
20,788 KB
testcase_03 AC 53 ms
22,856 KB
testcase_04 AC 53 ms
20,728 KB
testcase_05 AC 54 ms
20,752 KB
testcase_06 AC 53 ms
22,892 KB
testcase_07 AC 55 ms
20,908 KB
testcase_08 AC 54 ms
20,672 KB
testcase_09 AC 53 ms
20,912 KB
testcase_10 AC 54 ms
20,800 KB
testcase_11 AC 54 ms
18,756 KB
testcase_12 AC 56 ms
22,856 KB
testcase_13 AC 54 ms
20,784 KB
testcase_14 AC 53 ms
22,880 KB
testcase_15 AC 55 ms
22,756 KB
testcase_16 AC 53 ms
22,740 KB
testcase_17 AC 54 ms
22,880 KB
testcase_18 AC 55 ms
20,784 KB
testcase_19 AC 53 ms
20,740 KB
testcase_20 AC 53 ms
22,732 KB
testcase_21 AC 51 ms
20,772 KB
testcase_22 AC 53 ms
20,812 KB
testcase_23 AC 53 ms
20,792 KB
testcase_24 AC 52 ms
20,740 KB
testcase_25 AC 54 ms
20,904 KB
testcase_26 AC 55 ms
20,656 KB
testcase_27 AC 54 ms
20,732 KB
testcase_28 AC 55 ms
22,796 KB
testcase_29 AC 55 ms
20,784 KB
testcase_30 AC 54 ms
18,780 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;
using System.Text;
using System.Threading.Tasks;

namespace foryuki
{
    class Program
    {
        static void Main(string[] args)
        {
            double a = int.Parse(Console.ReadLine());
            double b = int.Parse(Console.ReadLine());
            double c = int.Parse(Console.ReadLine());

            double need1 = Math.Ceiling(a / b);
            double need2 = Math.Ceiling(a / c);

            if (need1 * (2d / 3d) >= need2)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");
            }
        }


        //-------------------------------------------------------------

        static int[] ConvertStringArrayToIntArray(string[] str)
        {
            int[] b = Array.ConvertAll<string, int>(str, delegate(string value)
                {
                    return int.Parse(value);
                });
            return b;
        }

        static List<int> ConvertStringArrayToIntList(string[] str)
        {
            var list = new List<int>();
            foreach (var c in str)
            {
                list.Add(int.Parse(c));
            }
            return list;
        }
    }
}
0