結果

問題 No.441 和か積
ユーザー ixTL255ixTL255
提出日時 2017-01-22 02:56:06
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 64 ms / 1,000 ms
コード長 349 bytes
コンパイル時間 3,316 ms
コンパイル使用メモリ 105,676 KB
実行使用メモリ 24,040 KB
最終ジャッジ日時 2023-09-09 10:36:26
合計ジャッジ時間 6,670 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
24,040 KB
testcase_01 AC 61 ms
21,868 KB
testcase_02 AC 62 ms
19,864 KB
testcase_03 AC 62 ms
21,884 KB
testcase_04 AC 62 ms
23,896 KB
testcase_05 AC 63 ms
19,860 KB
testcase_06 AC 63 ms
21,884 KB
testcase_07 AC 62 ms
21,988 KB
testcase_08 AC 61 ms
19,768 KB
testcase_09 AC 61 ms
21,956 KB
testcase_10 AC 63 ms
23,952 KB
testcase_11 AC 61 ms
21,944 KB
testcase_12 AC 62 ms
19,784 KB
testcase_13 AC 62 ms
21,876 KB
testcase_14 AC 60 ms
22,032 KB
testcase_15 AC 61 ms
21,908 KB
testcase_16 AC 61 ms
21,896 KB
testcase_17 AC 62 ms
23,912 KB
testcase_18 AC 61 ms
23,868 KB
testcase_19 AC 62 ms
23,980 KB
testcase_20 AC 64 ms
23,988 KB
testcase_21 AC 63 ms
19,948 KB
testcase_22 AC 64 ms
21,992 KB
testcase_23 AC 62 ms
21,816 KB
testcase_24 AC 63 ms
21,808 KB
testcase_25 AC 62 ms
21,924 KB
testcase_26 AC 62 ms
23,892 KB
testcase_27 AC 61 ms
21,884 KB
testcase_28 AC 63 ms
23,868 KB
testcase_29 AC 64 ms
21,920 KB
testcase_30 AC 63 ms
24,028 KB
testcase_31 AC 62 ms
21,972 KB
testcase_32 AC 64 ms
21,944 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.Numerics;
using System.Linq;

public class Test
{
	public static void Main()
	{
		var x = Console.ReadLine().Split(' ')
			.Select(n => BigInteger.Parse(n)).ToArray();
	
		if(x[0] + x[1] > x[0] * x[1]) Console.WriteLine("S");
		else if(x[0] + x[1] < x[0] * x[1]) Console.WriteLine("P");
		else Console.WriteLine("E");
	}
}
0