結果

問題 No.218 経験値1.5倍
ユーザー mbanmban
提出日時 2016-11-05 13:37:11
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 594 bytes
コンパイル時間 2,362 ms
コンパイル使用メモリ 101,352 KB
実行使用メモリ 22,784 KB
最終ジャッジ日時 2023-08-28 14:28:00
合計ジャッジ時間 5,076 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
20,716 KB
testcase_01 AC 51 ms
18,564 KB
testcase_02 AC 51 ms
18,648 KB
testcase_03 AC 53 ms
22,776 KB
testcase_04 AC 53 ms
22,708 KB
testcase_05 AC 52 ms
20,644 KB
testcase_06 AC 54 ms
20,664 KB
testcase_07 AC 52 ms
20,692 KB
testcase_08 AC 52 ms
22,748 KB
testcase_09 AC 52 ms
22,760 KB
testcase_10 AC 52 ms
20,716 KB
testcase_11 AC 52 ms
22,712 KB
testcase_12 AC 52 ms
20,712 KB
testcase_13 AC 53 ms
20,720 KB
testcase_14 AC 52 ms
20,644 KB
testcase_15 AC 52 ms
20,720 KB
testcase_16 AC 52 ms
22,784 KB
testcase_17 AC 52 ms
20,820 KB
testcase_18 AC 53 ms
22,708 KB
testcase_19 AC 53 ms
20,680 KB
testcase_20 AC 53 ms
20,648 KB
testcase_21 AC 52 ms
18,656 KB
testcase_22 AC 52 ms
22,732 KB
testcase_23 AC 52 ms
20,680 KB
testcase_24 AC 52 ms
20,712 KB
testcase_25 AC 52 ms
18,644 KB
testcase_26 AC 52 ms
20,704 KB
testcase_27 AC 52 ms
22,720 KB
testcase_28 AC 52 ms
20,608 KB
testcase_29 AC 52 ms
20,684 KB
testcase_30 AC 52 ms
20,640 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;

class Magatro
{
    static void Main()
    {
        int a, b, c;
        a = int.Parse(Console.ReadLine());
        b = int.Parse(Console.ReadLine());
        c = int.Parse(Console.ReadLine());
        int bcnt = a % b == 0 ? a / b : a / b + 1;
        int ccnt = a % c == 0 ? a / c : a / c + 1;
        if ((double)bcnt * 2.0/3.0 >= ccnt)
        {
            Console.WriteLine("YES");
        }
        else
        {
            Console.WriteLine("NO");
        }
    } 
}
0