結果

問題 No.441 和か積
ユーザー PE11PE11
提出日時 2016-12-09 09:24:16
言語 C#(csc)
(csc 3.9.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 589 bytes
コンパイル時間 3,509 ms
コンパイル使用メモリ 107,060 KB
実行使用メモリ 23,512 KB
最終ジャッジ日時 2023-08-23 12:08:23
合計ジャッジ時間 5,877 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
21,452 KB
testcase_01 AC 56 ms
21,528 KB
testcase_02 AC 56 ms
23,376 KB
testcase_03 AC 56 ms
21,428 KB
testcase_04 AC 56 ms
21,392 KB
testcase_05 AC 56 ms
21,328 KB
testcase_06 AC 56 ms
21,512 KB
testcase_07 AC 56 ms
21,484 KB
testcase_08 AC 56 ms
21,488 KB
testcase_09 AC 56 ms
23,512 KB
testcase_10 AC 56 ms
19,468 KB
testcase_11 AC 54 ms
21,352 KB
testcase_12 AC 56 ms
21,516 KB
testcase_13 AC 57 ms
23,468 KB
testcase_14 AC 56 ms
21,468 KB
testcase_15 AC 55 ms
21,328 KB
testcase_16 AC 56 ms
21,580 KB
testcase_17 AC 56 ms
21,332 KB
testcase_18 AC 57 ms
21,580 KB
testcase_19 AC 56 ms
23,440 KB
testcase_20 AC 56 ms
23,420 KB
testcase_21 AC 56 ms
19,408 KB
testcase_22 AC 56 ms
21,392 KB
testcase_23 AC 56 ms
21,464 KB
testcase_24 AC 56 ms
21,516 KB
testcase_25 AC 55 ms
21,484 KB
testcase_26 AC 55 ms
19,444 KB
testcase_27 WA -
testcase_28 AC 56 ms
21,460 KB
testcase_29 AC 56 ms
21,368 KB
testcase_30 AC 55 ms
19,332 KB
testcase_31 AC 56 ms
23,448 KB
testcase_32 AC 56 ms
19,416 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;
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");
		}
	}
}
0