結果

問題 No.201 yukicoderじゃんけん
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-09-19 01:42:43
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 157 ms / 5,000 ms
コード長 355 bytes
コンパイル時間 1,916 ms
コンパイル使用メモリ 103,156 KB
実行使用メモリ 27,100 KB
最終ジャッジ日時 2023-09-25 10:04:03
合計ジャッジ時間 4,653 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
20,748 KB
testcase_01 AC 60 ms
20,772 KB
testcase_02 AC 59 ms
20,788 KB
testcase_03 AC 62 ms
20,908 KB
testcase_04 AC 62 ms
22,828 KB
testcase_05 AC 61 ms
20,840 KB
testcase_06 AC 61 ms
20,848 KB
testcase_07 AC 61 ms
22,948 KB
testcase_08 AC 62 ms
21,000 KB
testcase_09 AC 63 ms
20,884 KB
testcase_10 AC 61 ms
20,860 KB
testcase_11 AC 63 ms
20,752 KB
testcase_12 AC 63 ms
22,880 KB
testcase_13 AC 63 ms
20,916 KB
testcase_14 AC 61 ms
20,764 KB
testcase_15 AC 155 ms
24,976 KB
testcase_16 AC 157 ms
25,020 KB
testcase_17 AC 156 ms
24,904 KB
testcase_18 AC 157 ms
27,100 KB
testcase_19 AC 154 ms
27,052 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;
using System.Numerics;

class No201
{
    static void Main()
    {
        var f = Console.ReadLine().Split(' ');
        var s = Console.ReadLine().Split(' ');
        var fn = BigInteger.Parse(f[1]);
        var sn = BigInteger.Parse(s[1]);
        Console.WriteLine(fn - sn > 0 ? f[0] : fn == sn ?" -1" : s[0]);
    }
}
0