結果

問題 No.1129 Rating じゃんけん
ユーザー SKSK
提出日時 2022-12-20 15:06:01
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 299 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 32,272 KB
実行使用メモリ 32,532 KB
最終ジャッジ日時 2024-04-29 02:49:09
合計ジャッジ時間 1,369 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
32,020 KB
testcase_01 AC 38 ms
32,144 KB
testcase_02 AC 36 ms
32,276 KB
testcase_03 AC 36 ms
32,272 KB
testcase_04 AC 36 ms
32,088 KB
testcase_05 AC 41 ms
32,272 KB
testcase_06 AC 37 ms
32,140 KB
testcase_07 AC 37 ms
32,148 KB
testcase_08 AC 36 ms
32,016 KB
testcase_09 AC 36 ms
32,400 KB
testcase_10 AC 36 ms
32,088 KB
testcase_11 AC 37 ms
32,144 KB
testcase_12 WA -
testcase_13 AC 38 ms
32,144 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 37 ms
32,272 KB
testcase_17 AC 38 ms
32,272 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
[$a,$a1,$b,$b1] = explode(" ",trim(fgets(STDIN)));
$c = $a1-$b1;
if ($a > $b) {
    echo "null";
}elseif ($a < $b) {
    echo "tRue";
}elseif ($a = $b && ($c = -1 ||$c = 2)) {
    echo "null";
}elseif ($a = $b && ($c = 1 ||$c = -2)) {
    echo "tRue";
}elseif ($a = $b && ($c = 0)){
    
}

?>
0