結果

問題 No.441 和か積
ユーザー TaK7907TaK7907
提出日時 2017-10-29 11:51:09
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 549 bytes
コンパイル時間 2,028 ms
コンパイル使用メモリ 104,408 KB
実行使用メモリ 22,608 KB
最終ジャッジ日時 2023-08-14 09:30:53
合計ジャッジ時間 5,129 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
18,540 KB
testcase_01 AC 53 ms
22,608 KB
testcase_02 AC 52 ms
20,520 KB
testcase_03 AC 52 ms
20,528 KB
testcase_04 AC 53 ms
22,560 KB
testcase_05 AC 52 ms
20,652 KB
testcase_06 AC 52 ms
20,588 KB
testcase_07 AC 52 ms
20,476 KB
testcase_08 AC 51 ms
22,516 KB
testcase_09 AC 52 ms
22,600 KB
testcase_10 AC 52 ms
20,660 KB
testcase_11 WA -
testcase_12 AC 53 ms
20,712 KB
testcase_13 AC 51 ms
20,476 KB
testcase_14 AC 53 ms
20,504 KB
testcase_15 AC 52 ms
22,608 KB
testcase_16 AC 52 ms
20,480 KB
testcase_17 AC 53 ms
22,564 KB
testcase_18 AC 52 ms
20,484 KB
testcase_19 AC 52 ms
20,652 KB
testcase_20 AC 52 ms
20,520 KB
testcase_21 AC 51 ms
18,476 KB
testcase_22 AC 52 ms
22,608 KB
testcase_23 AC 53 ms
20,472 KB
testcase_24 AC 52 ms
20,528 KB
testcase_25 AC 53 ms
20,508 KB
testcase_26 AC 52 ms
20,720 KB
testcase_27 AC 52 ms
20,456 KB
testcase_28 AC 51 ms
20,456 KB
testcase_29 AC 52 ms
20,480 KB
testcase_30 AC 52 ms
22,536 KB
testcase_31 AC 52 ms
20,496 KB
testcase_32 AC 53 ms
20,540 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;

namespace yukicodeX {
    public class ProgramX {
        public static string Solver(System.IO.TextReader reader) {
            var buf = reader.ReadLine().Split();
            if (buf[ 0 ] == "0" || buf[ 1 ] == "0" || buf[ 0 ] == "1" || buf[ 1 ] == "1") return "S";
            if (buf[ 0 ] == "2" && buf[ 1 ] == "2") return "E";
            else return "P";
        }

        private static void Main() {
            Console.WriteLine( Solver( Console.In ) );
        }
    }
}
0