結果

問題 No.159 刺さらないUSB
ユーザー しらゆきしらゆき
提出日時 2015-11-19 16:09:15
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 63 ms / 1,000 ms
コード長 273 bytes
コンパイル時間 3,775 ms
コンパイル使用メモリ 101,224 KB
実行使用メモリ 23,888 KB
最終ジャッジ日時 2023-09-14 16:46:45
合計ジャッジ時間 6,114 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
21,920 KB
testcase_01 AC 62 ms
21,764 KB
testcase_02 AC 63 ms
21,848 KB
testcase_03 AC 62 ms
21,752 KB
testcase_04 AC 62 ms
21,980 KB
testcase_05 AC 62 ms
23,792 KB
testcase_06 AC 63 ms
23,876 KB
testcase_07 AC 62 ms
23,816 KB
testcase_08 AC 63 ms
23,828 KB
testcase_09 AC 62 ms
21,800 KB
testcase_10 AC 62 ms
21,848 KB
testcase_11 AC 62 ms
23,888 KB
testcase_12 AC 63 ms
21,772 KB
testcase_13 AC 63 ms
21,944 KB
testcase_14 AC 63 ms
21,832 KB
testcase_15 AC 62 ms
23,836 KB
testcase_16 AC 63 ms
21,908 KB
testcase_17 AC 63 ms
21,868 KB
testcase_18 AC 62 ms
19,900 KB
testcase_19 AC 62 ms
19,892 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.Linq;

class Program
{
    static void Main()
    {
        double[] i = Console.ReadLine().Split().Select(double.Parse).ToArray();

        if (1 - i[0] < i[0] * (1 - i[1])) Console.WriteLine("YES");
        else Console.WriteLine("NO");
    }
}
0