結果

問題 No.441 和か積
ユーザー qwrtpsfgqwrtpsfg
提出日時 2017-08-24 09:12:08
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 65 ms / 1,000 ms
コード長 494 bytes
コンパイル時間 2,867 ms
コンパイル使用メモリ 104,920 KB
実行使用メモリ 23,988 KB
最終ジャッジ日時 2023-09-09 10:46:30
合計ジャッジ時間 5,706 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
23,940 KB
testcase_01 AC 62 ms
21,916 KB
testcase_02 AC 63 ms
22,024 KB
testcase_03 AC 63 ms
21,800 KB
testcase_04 AC 63 ms
21,900 KB
testcase_05 AC 65 ms
21,764 KB
testcase_06 AC 63 ms
21,892 KB
testcase_07 AC 62 ms
21,804 KB
testcase_08 AC 62 ms
21,844 KB
testcase_09 AC 62 ms
23,988 KB
testcase_10 AC 63 ms
21,812 KB
testcase_11 AC 62 ms
23,908 KB
testcase_12 AC 63 ms
23,908 KB
testcase_13 AC 63 ms
23,944 KB
testcase_14 AC 61 ms
19,852 KB
testcase_15 AC 62 ms
23,940 KB
testcase_16 AC 61 ms
21,784 KB
testcase_17 AC 63 ms
21,896 KB
testcase_18 AC 62 ms
21,852 KB
testcase_19 AC 62 ms
23,784 KB
testcase_20 AC 64 ms
21,912 KB
testcase_21 AC 64 ms
21,940 KB
testcase_22 AC 63 ms
23,936 KB
testcase_23 AC 64 ms
22,116 KB
testcase_24 AC 63 ms
21,808 KB
testcase_25 AC 63 ms
23,908 KB
testcase_26 AC 64 ms
22,012 KB
testcase_27 AC 61 ms
23,840 KB
testcase_28 AC 64 ms
21,928 KB
testcase_29 AC 64 ms
19,756 KB
testcase_30 AC 63 ms
21,816 KB
testcase_31 AC 64 ms
21,816 KB
testcase_32 AC 65 ms
23,908 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.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");
        else if(wa > seki) Console.WriteLine("S");
        else Console.WriteLine("P");
    }
}
0