結果

問題 No.201 yukicoderじゃんけん
ユーザー pirorirori_n712
提出日時 2018-09-19 01:42:43
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 97 ms / 5,000 ms
コード長 355 bytes
コンパイル時間 627 ms
コンパイル使用メモリ 111,604 KB
実行使用メモリ 30,488 KB
最終ジャッジ日時 2024-07-18 08:12:02
合計ジャッジ時間 2,194 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます
コンパイルメッセージ
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