結果
問題 | No.218 経験値1.5倍 |
ユーザー |
![]() |
提出日時 | 2015-11-20 09:10:09 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 400 bytes |
コンパイル時間 | 4,437 ms |
コンパイル使用メモリ | 102,016 KB |
実行使用メモリ | 17,792 KB |
最終ジャッジ日時 | 2024-12-29 15:26:42 |
合計ジャッジ時間 | 3,168 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Program { static void Main() { double a = double.Parse(Console.ReadLine()); double b = double.Parse(Console.ReadLine()); double c = double.Parse(Console.ReadLine()); double j = Math.Ceiling(a / b); double k = Math.Ceiling(a / c); if (j * 2 >= k * 3) Console.WriteLine("YES"); else Console.WriteLine("NO"); } }