結果
| 問題 |
No.337 P versus NP
|
| コンテスト | |
| ユーザー |
togatoga
|
| 提出日時 | 2016-04-25 20:22:35 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
AC
|
| 実行時間 | 67 ms / 2,000 ms |
| コード長 | 275 bytes |
| コンパイル時間 | 30 ms |
| コンパイル使用メモリ | 5,120 KB |
| 実行使用メモリ | 39,296 KB |
| 最終ジャッジ日時 | 2024-10-12 23:39:25 |
| 合計ジャッジ時間 | 2,303 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
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 (P == P * N){
console.log("=");
}else{
console.log("!=");
}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
togatoga