結果

問題 No.337 P versus NP
ユーザー CroweaCrowea
提出日時 2019-01-24 16:41:34
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 353 bytes
コンパイル時間 927 ms
コンパイル使用メモリ 62,184 KB
実行使用メモリ 23,932 KB
最終ジャッジ日時 2023-10-14 09:39:56
合計ジャッジ時間 3,429 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
21,784 KB
testcase_01 AC 59 ms
21,904 KB
testcase_02 AC 59 ms
21,776 KB
testcase_03 AC 59 ms
19,840 KB
testcase_04 AC 59 ms
21,732 KB
testcase_05 AC 59 ms
21,904 KB
testcase_06 AC 59 ms
23,892 KB
testcase_07 AC 60 ms
23,900 KB
testcase_08 AC 59 ms
21,800 KB
testcase_09 AC 59 ms
23,828 KB
testcase_10 AC 59 ms
21,796 KB
testcase_11 AC 58 ms
21,740 KB
testcase_12 AC 60 ms
23,912 KB
testcase_13 AC 59 ms
21,908 KB
testcase_14 AC 59 ms
21,728 KB
testcase_15 AC 60 ms
21,964 KB
testcase_16 AC 59 ms
21,876 KB
testcase_17 AC 59 ms
21,784 KB
testcase_18 AC 60 ms
23,932 KB
testcase_19 AC 59 ms
23,772 KB
testcase_20 AC 59 ms
19,852 KB
testcase_21 AC 59 ms
19,856 KB
testcase_22 AC 60 ms
21,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using System.Linq;

class Program
{
    static void Main(string[] args)
    {
        var input = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList();
        var integer = new {  N = input[0]
                           , P = input[1] };
        Console.WriteLine((integer.P == (integer.N * integer.P)) ? "=" : "!=");
    }
}
0