結果

問題 No.218 経験値1.5倍
ユーザー mencottonmencotton
提出日時 2017-12-30 00:01:21
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 465 bytes
コンパイル時間 2,637 ms
コンパイル使用メモリ 102,656 KB
実行使用メモリ 17,664 KB
最終ジャッジ日時 2024-12-29 16:14:47
合計ジャッジ時間 4,422 ms
ジャッジサーバーID
(参考情報)
judge3 / 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;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            int b = int.Parse(Console.ReadLine());
            int c = int.Parse(Console.ReadLine());
            int x = (a - 1) / b + 1;
            int y = (a - 1) / c + 1;
            Console.WriteLine(x * 2 >= y * 3 ? "YES" : "NO");
        }
    }
}
0