結果

問題 No.218 経験値1.5倍
ユーザー rtomp
提出日時 2016-07-27 22:08:36
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 396 bytes
コンパイル時間 2,857 ms
コンパイル使用メモリ 107,528 KB
実行使用メモリ 26,064 KB
最終ジャッジ日時 2024-11-06 18:02:32
合計ジャッジ時間 2,639 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24 WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Test
{
	public static void Main()
	{
		decimal a = decimal.Parse(Console.ReadLine());
		decimal b = decimal.Parse(Console.ReadLine());
		decimal c = decimal.Parse(Console.ReadLine());
		
		decimal Nomal = Math.Ceiling( a / b );
		decimal Campaign = Math.Ceiling( a / c );
		decimal Best = Nomal * 0.66m ;
		
		Console.WriteLine( Campaign <= Best ? "YES" : "NO" );
	}
}
0