結果

問題 No.441 和か積
ユーザー qwrtpsfgqwrtpsfg
提出日時 2017-08-24 09:06:45
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 489 bytes
コンパイル時間 1,013 ms
コンパイル使用メモリ 106,624 KB
実行使用メモリ 19,968 KB
最終ジャッジ日時 2024-04-23 14:07:31
合計ジャッジ時間 3,439 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
19,712 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 34 ms
19,712 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 34 ms
19,840 KB
testcase_13 AC 34 ms
19,712 KB
testcase_14 WA -
testcase_15 AC 35 ms
19,584 KB
testcase_16 AC 34 ms
19,712 KB
testcase_17 AC 35 ms
19,584 KB
testcase_18 AC 34 ms
19,584 KB
testcase_19 AC 33 ms
19,328 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 34 ms
19,584 KB
testcase_24 AC 36 ms
19,584 KB
testcase_25 AC 35 ms
19,456 KB
testcase_26 AC 35 ms
19,712 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.Collections.Generic;
using System.Numerics;

public class yukicoder
{
    public static void Main()
    {
        BigInteger[] line = Console.ReadLine().Split(' ').Select(x => BigInteger.Parse(x)).ToArray();
        BigInteger wa = line[0] + line[1];
        BigInteger seki = line[0] * line[1];
        
        if(wa == seki) Console.WriteLine("E");
        if(wa > seki) Console.WriteLine("S");
        else Console.WriteLine("E");
    }
}
0