結果

問題 No.138 化石のバージョン
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-07-19 01:17:15
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 421 bytes
コンパイル時間 2,354 ms
コンパイル使用メモリ 103,628 KB
実行使用メモリ 26,036 KB
最終ジャッジ日時 2023-08-22 18:13:24
合計ジャッジ時間 5,345 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 57 ms
23,952 KB
testcase_04 AC 56 ms
21,948 KB
testcase_05 WA -
testcase_06 AC 56 ms
19,884 KB
testcase_07 AC 56 ms
21,788 KB
testcase_08 AC 56 ms
21,892 KB
testcase_09 AC 56 ms
19,988 KB
testcase_10 AC 56 ms
21,960 KB
testcase_11 AC 57 ms
23,868 KB
testcase_12 AC 56 ms
23,912 KB
testcase_13 AC 56 ms
21,812 KB
testcase_14 AC 56 ms
21,952 KB
testcase_15 AC 56 ms
21,848 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 57 ms
23,988 KB
testcase_21 WA -
testcase_22 AC 55 ms
21,932 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 56 ms
21,852 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 56 ms
23,968 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 56 ms
21,780 KB
testcase_34 AC 56 ms
21,820 KB
testcase_35 AC 55 ms
19,968 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 No138{
    static void Main(){
        var a=Console.ReadLine().Split('.').Select(x=>Int32.Parse(x)).ToArray();
        var b=Console.ReadLine().Split('.').Select(x=>Int32.Parse(x)).ToArray();
        var c="NO";
        for(int i=0;i<3;++i){
            if(b[i]-a[i]<0){
                c="YES";
                break;
            }
        }
        Console.WriteLine(c);
    }
}
0