結果
| 問題 | No.441 和か積 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2016-12-09 09:24:16 | 
| 言語 | C#(csc) (csc 3.9.0) | 
| 結果 | 
                                WA
                                 
                            (最新) 
                                AC
                                 
                            (最初) | 
| 実行時間 | - | 
| コード長 | 589 bytes | 
| コンパイル時間 | 1,369 ms | 
| コンパイル使用メモリ | 113,404 KB | 
| 実行使用メモリ | 27,168 KB | 
| 最終ジャッジ日時 | 2024-12-21 14:53:04 | 
| 合計ジャッジ時間 | 3,265 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 29 WA * 1 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Calc
{
	class Program
	{
		static void Main()
		{
			var InputData = Console.ReadLine().Split(' ').ToList();
			if (InputData[0] == "0" && InputData[1] == "0")
			{
				Console.WriteLine("E");
				return;
			}
			if (InputData.Where(value => value == "0" || value == "1").Count() > 0)
			{
				Console.WriteLine("S");
				return;
			}
			if(InputData[0] == InputData[1])
			{
				Console.WriteLine("E");
				return;
			}
			Console.WriteLine("P");
		}
	}
}
            
            
            
        