結果

問題 No.441 和か積
ユーザー mbanmban
提出日時 2016-11-11 23:22:16
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 952 bytes
コンパイル時間 654 ms
コンパイル使用メモリ 110,996 KB
実行使用メモリ 26,804 KB
最終ジャッジ日時 2024-05-04 03:08:11
合計ジャッジ時間 2,474 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
26,412 KB
testcase_01 AC 26 ms
24,676 KB
testcase_02 AC 28 ms
26,288 KB
testcase_03 AC 26 ms
24,548 KB
testcase_04 AC 26 ms
26,540 KB
testcase_05 AC 26 ms
24,552 KB
testcase_06 AC 27 ms
24,240 KB
testcase_07 AC 27 ms
26,536 KB
testcase_08 AC 26 ms
24,804 KB
testcase_09 AC 25 ms
22,580 KB
testcase_10 AC 26 ms
24,544 KB
testcase_11 AC 26 ms
26,544 KB
testcase_12 AC 26 ms
26,660 KB
testcase_13 AC 24 ms
24,368 KB
testcase_14 AC 27 ms
26,664 KB
testcase_15 AC 26 ms
24,620 KB
testcase_16 AC 25 ms
24,756 KB
testcase_17 WA -
testcase_18 AC 26 ms
24,356 KB
testcase_19 AC 26 ms
22,580 KB
testcase_20 AC 27 ms
26,464 KB
testcase_21 AC 27 ms
24,676 KB
testcase_22 AC 26 ms
26,536 KB
testcase_23 AC 27 ms
26,408 KB
testcase_24 AC 26 ms
24,624 KB
testcase_25 AC 27 ms
26,804 KB
testcase_26 AC 26 ms
24,412 KB
testcase_27 AC 27 ms
24,616 KB
testcase_28 AC 26 ms
24,496 KB
testcase_29 AC 25 ms
24,624 KB
testcase_30 AC 26 ms
24,544 KB
testcase_31 AC 26 ms
24,420 KB
testcase_32 AC 25 ms
22,456 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.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

class Magatro
{
    static void Main()
    {
        string[] ab = Console.ReadLine().Split(' ');
        Array.Sort(ab);
        if (ab[0] == "0")
        {
            if (ab[1] == "0")
            {
                Console.WriteLine("E");
                return;
            }
            else
            {
                Console.WriteLine("S");
                return;
            }
        }
        if (ab[0] == "1")
        {
            if (ab[1] == "1")
            {
                Console.WriteLine("E");
                return;
            }
            else
            {
                Console.WriteLine("S");
                return;
            }
        }
        if (ab[0] == "2" && ab[1] == "2")
        {
            Console.WriteLine("E");
            return;
        }
        Console.WriteLine("P");
    }

}
0