結果

問題 No.337 P versus NP
ユーザー togatogatogatoga
提出日時 2016-04-25 20:20:52
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 274 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 6,688 KB
実行使用メモリ 41,328 KB
最終ジャッジ日時 2024-04-21 01:19:21
合計ジャッジ時間 2,434 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
39,168 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 62 ms
38,912 KB
testcase_04 WA -
testcase_05 AC 61 ms
39,040 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 61 ms
38,784 KB
testcase_11 WA -
testcase_12 AC 62 ms
39,040 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 61 ms
38,784 KB
testcase_16 AC 63 ms
38,912 KB
testcase_17 AC 62 ms
39,040 KB
testcase_18 AC 61 ms
39,168 KB
testcase_19 AC 62 ms
39,040 KB
testcase_20 AC 61 ms
38,912 KB
testcase_21 WA -
testcase_22 AC 62 ms
39,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
	input = input.split("\n");
	var tmp = input[0].split(" ");
	var N = parseInt(tmp[0], 10);
	var P = parseInt(tmp[1], 10);
	if (N == P * N){
		console.log("=");
	}else{
		console.log("!=");
	}

}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0