結果

問題 No.441 和か積
ユーザー TaK7907TaK7907
提出日時 2017-10-29 11:48:33
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 511 bytes
コンパイル時間 2,018 ms
コンパイル使用メモリ 102,900 KB
実行使用メモリ 24,580 KB
最終ジャッジ日時 2023-08-14 09:30:47
合計ジャッジ時間 5,176 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
20,492 KB
testcase_01 AC 53 ms
22,532 KB
testcase_02 AC 52 ms
20,616 KB
testcase_03 AC 53 ms
18,372 KB
testcase_04 AC 52 ms
20,604 KB
testcase_05 AC 52 ms
20,460 KB
testcase_06 AC 53 ms
22,540 KB
testcase_07 AC 52 ms
20,524 KB
testcase_08 WA -
testcase_09 AC 52 ms
18,572 KB
testcase_10 AC 53 ms
22,556 KB
testcase_11 WA -
testcase_12 AC 53 ms
20,612 KB
testcase_13 WA -
testcase_14 AC 53 ms
24,580 KB
testcase_15 AC 52 ms
20,568 KB
testcase_16 WA -
testcase_17 AC 52 ms
18,596 KB
testcase_18 AC 53 ms
22,692 KB
testcase_19 AC 53 ms
20,488 KB
testcase_20 AC 53 ms
22,564 KB
testcase_21 AC 54 ms
20,572 KB
testcase_22 AC 53 ms
22,564 KB
testcase_23 AC 53 ms
22,680 KB
testcase_24 AC 53 ms
22,528 KB
testcase_25 WA -
testcase_26 AC 53 ms
20,500 KB
testcase_27 AC 53 ms
20,488 KB
testcase_28 AC 53 ms
20,656 KB
testcase_29 AC 53 ms
20,708 KB
testcase_30 AC 54 ms
20,480 KB
testcase_31 AC 53 ms
20,496 KB
testcase_32 AC 53 ms
22,612 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 ] == "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