結果

問題 No.441 和か積
ユーザー jousenjousen
提出日時 2016-11-11 22:28:25
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 133 ms / 1,000 ms
コード長 805 bytes
コンパイル時間 2,094 ms
コンパイル使用メモリ 102,040 KB
実行使用メモリ 23,924 KB
最終ジャッジ日時 2023-09-09 10:11:18
合計ジャッジ時間 7,206 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
21,820 KB
testcase_01 AC 61 ms
19,956 KB
testcase_02 AC 63 ms
21,820 KB
testcase_03 AC 65 ms
21,700 KB
testcase_04 AC 63 ms
22,068 KB
testcase_05 AC 64 ms
22,088 KB
testcase_06 AC 63 ms
21,776 KB
testcase_07 AC 64 ms
21,764 KB
testcase_08 AC 62 ms
21,788 KB
testcase_09 AC 61 ms
21,820 KB
testcase_10 AC 63 ms
21,824 KB
testcase_11 AC 63 ms
21,776 KB
testcase_12 AC 64 ms
23,892 KB
testcase_13 AC 64 ms
21,760 KB
testcase_14 AC 63 ms
21,800 KB
testcase_15 AC 63 ms
21,768 KB
testcase_16 AC 65 ms
23,872 KB
testcase_17 AC 63 ms
21,824 KB
testcase_18 AC 63 ms
21,804 KB
testcase_19 AC 64 ms
21,784 KB
testcase_20 AC 65 ms
21,832 KB
testcase_21 AC 68 ms
23,848 KB
testcase_22 AC 107 ms
19,804 KB
testcase_23 AC 133 ms
21,812 KB
testcase_24 AC 76 ms
21,824 KB
testcase_25 AC 65 ms
23,904 KB
testcase_26 AC 66 ms
22,068 KB
testcase_27 AC 65 ms
23,924 KB
testcase_28 AC 65 ms
21,880 KB
testcase_29 AC 65 ms
23,824 KB
testcase_30 AC 65 ms
19,964 KB
testcase_31 AC 64 ms
23,884 KB
testcase_32 AC 63 ms
23,760 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.Collections;
using System.Linq;
using System.Numerics;




namespace contest
{

    class contest
    {


        static void Main(string[] args)
        {


            //int n = int.Parse(Console.ReadLine());
            //var input = Console.ReadLine().Split().Select(int.Parse).ToArray();

            //var num = Console.ReadLine().Split().Select(int.Parse).ToArray();



             var input = Console.ReadLine().Split().Select(BigInteger.Parse).ToArray();
            BigInteger A = input[0];
            BigInteger B = input[1];

            if((A+B)>(A*B)) Console.WriteLine("S");
            else if ((A + B) < (A * B)) Console.WriteLine("P");
            else Console.WriteLine("E");


           


        }

        

    }


}
0