結果

問題 No.337 P versus NP
ユーザー ontama_12ontama_12
提出日時 2016-09-26 14:26:53
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 459 bytes
コンパイル時間 42 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 44,264 KB
最終ジャッジ日時 2023-08-03 01:44:52
合計ジャッジ時間 2,999 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
42,284 KB
testcase_01 AC 86 ms
42,304 KB
testcase_02 AC 80 ms
42,260 KB
testcase_03 AC 79 ms
42,500 KB
testcase_04 AC 79 ms
42,384 KB
testcase_05 AC 85 ms
42,344 KB
testcase_06 AC 81 ms
42,448 KB
testcase_07 AC 80 ms
42,424 KB
testcase_08 AC 81 ms
44,264 KB
testcase_09 AC 80 ms
42,388 KB
testcase_10 AC 81 ms
42,368 KB
testcase_11 AC 79 ms
42,256 KB
testcase_12 AC 81 ms
42,360 KB
testcase_13 AC 78 ms
42,232 KB
testcase_14 AC 79 ms
42,312 KB
testcase_15 AC 80 ms
42,252 KB
testcase_16 AC 78 ms
42,252 KB
testcase_17 AC 79 ms
42,304 KB
testcase_18 AC 79 ms
42,352 KB
testcase_19 AC 81 ms
42,380 KB
testcase_20 AC 81 ms
42,412 KB
testcase_21 AC 81 ms
42,256 KB
testcase_22 AC 81 ms
42,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

    ///////////////////////No.337 P versus NP
    //入力文字読み取り
    process.stdin.resume();
    process.stdin.setEncoding('utf8');
    process.stdin.on('data', function (chunk) {

        //すべて受け取り改行で区切って格納
        var inputall = chunk.split(" ").map(Number);

        if (inputall[1] == (inputall[0] * inputall[1])) {
            console.log("=");
        } else {
            console.log("!=");
        }
    });
0