結果
| 問題 | 
                            No.337 P versus NP
                             | 
                    
| コンテスト | |
| ユーザー | 
                             megane_anko
                         | 
                    
| 提出日時 | 2021-02-14 00:10:44 | 
| 言語 | TypeScript  (5.7.2)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 403 bytes | 
| コンパイル時間 | 8,144 ms | 
| コンパイル使用メモリ | 231,136 KB | 
| 実行使用メモリ | 41,200 KB | 
| 最終ジャッジ日時 | 2024-12-31 16:25:08 | 
| 合計ジャッジ時間 | 10,136 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 18 WA * 5 | 
ソースコード
import * as fs from 'fs';
const input = fs.readFileSync('/dev/stdin', 'utf8');
const arr = input.split(/[ \n]/);
let N = parseInt(arr[0]);
let P = parseInt(arr[0]);
if (N === 0 && P === 0) {
    console.log("=");
} else if (P === 0) {
    console.log("=");
} else if (N === 0 && P !== 0) {
    console.log("!=");
} else if (N === 1 && P !== 0) {
    console.log("=");
} else {
    console.log("!=");
}
            
            
            
        
            
megane_anko