結果
| 問題 | No.441 和か積 | 
| コンテスト | |
| ユーザー |  bluemegane | 
| 提出日時 | 2018-09-15 13:11:03 | 
| 言語 | C#(csc) (csc 3.9.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 26 ms / 1,000 ms | 
| コード長 | 478 bytes | 
| コンパイル時間 | 1,644 ms | 
| コンパイル使用メモリ | 104,580 KB | 
| 実行使用メモリ | 25,816 KB | 
| 最終ジャッジ日時 | 2024-07-17 21:45:39 | 
| 合計ジャッジ時間 | 2,709 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 30 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public class Hello
{
    public static void Main()
    {
        string[] line = Console.ReadLine().Trim().Split(' ');
        Console.WriteLine(check(line[0],line[1]));
    }
    public static string check(string a, string b)
    {
        if (a == "0" && b == "0") return "E";
        else if (a == "0" | b == "0") return "S";
        else if (a == "1" | b == "1") return "S";
        else if (a == "2" && b == "2") return "E";
        else return "P";
    }
}
            
            
            
        