結果

問題 No.441 和か積
ユーザー ototonariototonari
提出日時 2017-03-20 01:03:12
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 587 bytes
コンパイル時間 2,318 ms
コンパイル使用メモリ 99,732 KB
実行使用メモリ 24,380 KB
最終ジャッジ日時 2023-09-18 07:33:16
合計ジャッジ時間 5,302 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
18,624 KB
testcase_01 AC 53 ms
22,800 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 AC 53 ms
20,688 KB
testcase_09 AC 53 ms
18,548 KB
testcase_10 RE -
testcase_11 AC 54 ms
20,628 KB
testcase_12 RE -
testcase_13 RE -
testcase_14 AC 53 ms
20,664 KB
testcase_15 AC 52 ms
20,628 KB
testcase_16 AC 53 ms
20,692 KB
testcase_17 AC 52 ms
20,648 KB
testcase_18 AC 54 ms
20,612 KB
testcase_19 AC 53 ms
20,676 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 RE -
testcase_26 RE -
testcase_27 AC 53 ms
20,796 KB
testcase_28 RE -
testcase_29 RE -
testcase_30 RE -
testcase_31 RE -
testcase_32 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace yukicoder
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] s = Console.ReadLine().Split(' ');
            long A = int.Parse(s[0]);
            long B = int.Parse(s[1]);

            if((A + B) > (A * B))
            {
                Console.WriteLine("S");
            }
            else if((A + B) == (A * B))
            {
                Console.WriteLine("E");
            }
            else
            {
                Console.WriteLine("P");
            }
        }
    }
}
0