結果

問題 No.441 和か積
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-09-01 01:50:48
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 527 bytes
コンパイル時間 2,436 ms
コンパイル使用メモリ 99,548 KB
実行使用メモリ 22,760 KB
最終ジャッジ日時 2023-10-12 00:41:42
合計ジャッジ時間 6,465 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,672 KB
testcase_01 AC 55 ms
20,700 KB
testcase_02 RE -
testcase_03 AC 51 ms
20,428 KB
testcase_04 AC 53 ms
22,500 KB
testcase_05 AC 51 ms
22,608 KB
testcase_06 AC 52 ms
20,440 KB
testcase_07 AC 52 ms
20,564 KB
testcase_08 WA -
testcase_09 AC 56 ms
20,684 KB
testcase_10 AC 52 ms
22,572 KB
testcase_11 AC 57 ms
20,764 KB
testcase_12 AC 56 ms
20,696 KB
testcase_13 RE -
testcase_14 AC 51 ms
20,452 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 55 ms
20,792 KB
testcase_18 WA -
testcase_19 AC 56 ms
20,760 KB
testcase_20 AC 51 ms
20,588 KB
testcase_21 AC 52 ms
22,656 KB
testcase_22 AC 52 ms
22,444 KB
testcase_23 AC 56 ms
20,772 KB
testcase_24 RE -
testcase_25 AC 56 ms
20,852 KB
testcase_26 AC 57 ms
20,800 KB
testcase_27 AC 57 ms
22,740 KB
testcase_28 AC 51 ms
20,460 KB
testcase_29 AC 52 ms
20,460 KB
testcase_30 AC 51 ms
20,672 KB
testcase_31 AC 51 ms
20,560 KB
testcase_32 AC 52 ms
22,500 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;

class No441
{
    static void Main()
    {
        var num = Console.ReadLine().Split(' ');
        var ans = 'P';
        var a = -1; var b = -1;
        if (num[0].Length < 2) a = Int32.Parse(num[0]);
        if (num[1].Length < 2) b = Int32.Parse(num[0]);
        if (a != -1 || b != -1)
        {
            if ((a == 0 && b == 0) || (a == 2 && b == 2)) ans = 'E';
            else if ((a == 0 || b == 0) || (a == 1 || b == 1)) ans = 'S';
        }
        Console.WriteLine(ans);
    }
}
0