結果

問題 No.337 P versus NP
ユーザー papinianuspapinianus
提出日時 2016-06-17 17:18:51
言語 PHP
(8.3.4)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 132 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 31,020 KB
実行使用メモリ 31,404 KB
最終ジャッジ日時 2024-04-17 23:08:46
合計ジャッジ時間 1,596 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
30,760 KB
testcase_01 AC 38 ms
30,856 KB
testcase_02 AC 37 ms
31,104 KB
testcase_03 AC 34 ms
30,980 KB
testcase_04 AC 35 ms
31,296 KB
testcase_05 AC 33 ms
31,160 KB
testcase_06 AC 34 ms
30,920 KB
testcase_07 AC 34 ms
31,192 KB
testcase_08 AC 34 ms
31,404 KB
testcase_09 AC 33 ms
31,164 KB
testcase_10 AC 32 ms
31,368 KB
testcase_11 AC 32 ms
31,212 KB
testcase_12 AC 32 ms
30,716 KB
testcase_13 AC 34 ms
31,012 KB
testcase_14 AC 33 ms
31,272 KB
testcase_15 AC 32 ms
30,884 KB
testcase_16 AC 33 ms
31,320 KB
testcase_17 AC 37 ms
31,140 KB
testcase_18 AC 33 ms
30,872 KB
testcase_19 AC 33 ms
31,068 KB
testcase_20 AC 33 ms
31,088 KB
testcase_21 AC 36 ms
30,916 KB
testcase_22 AC 34 ms
30,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($n, $p) = explode(' ',trim(fgets(STDIN)));
if($n == 1 || $p == 0) {
    echo '=';
} else {
    echo '!=';
}
echo PHP_EOL;
0