結果

問題 No.441 和か積
ユーザー mbanmban
提出日時 2016-11-11 23:22:49
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 75 ms / 1,000 ms
コード長 952 bytes
コンパイル時間 1,991 ms
コンパイル使用メモリ 105,108 KB
実行使用メモリ 23,520 KB
最終ジャッジ日時 2023-09-09 10:22:18
合計ジャッジ時間 5,777 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
21,280 KB
testcase_01 AC 73 ms
21,384 KB
testcase_02 AC 73 ms
21,372 KB
testcase_03 AC 73 ms
23,260 KB
testcase_04 AC 72 ms
23,452 KB
testcase_05 AC 73 ms
21,532 KB
testcase_06 AC 73 ms
21,396 KB
testcase_07 AC 73 ms
23,328 KB
testcase_08 AC 73 ms
23,340 KB
testcase_09 AC 72 ms
19,248 KB
testcase_10 AC 74 ms
23,520 KB
testcase_11 AC 72 ms
21,624 KB
testcase_12 AC 73 ms
21,564 KB
testcase_13 AC 72 ms
21,296 KB
testcase_14 AC 72 ms
23,388 KB
testcase_15 AC 72 ms
21,260 KB
testcase_16 AC 73 ms
21,532 KB
testcase_17 AC 73 ms
21,344 KB
testcase_18 AC 75 ms
21,400 KB
testcase_19 AC 73 ms
21,404 KB
testcase_20 AC 73 ms
21,572 KB
testcase_21 AC 74 ms
23,448 KB
testcase_22 AC 74 ms
21,540 KB
testcase_23 AC 74 ms
21,344 KB
testcase_24 AC 73 ms
21,336 KB
testcase_25 AC 74 ms
21,292 KB
testcase_26 AC 73 ms
21,276 KB
testcase_27 AC 74 ms
21,280 KB
testcase_28 AC 74 ms
21,592 KB
testcase_29 AC 73 ms
21,516 KB
testcase_30 AC 73 ms
21,456 KB
testcase_31 AC 74 ms
21,388 KB
testcase_32 AC 75 ms
21,480 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("S");
                return;
            }
            else
            {
                Console.WriteLine("S");
                return;
            }
        }
        if (ab[0] == "2" && ab[1] == "2")
        {
            Console.WriteLine("E");
            return;
        }
        Console.WriteLine("P");
    }

}
0