結果
問題 | No.1129 Rating じゃんけん |
ユーザー | SK |
提出日時 | 2022-12-20 15:01:40 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 286 bytes |
コンパイル時間 | 75 ms |
コンパイル使用メモリ | 30,856 KB |
実行使用メモリ | 31,196 KB |
最終ジャッジ日時 | 2024-04-29 02:49:05 |
合計ジャッジ時間 | 1,483 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 43 ms
31,056 KB |
testcase_01 | AC | 43 ms
31,068 KB |
testcase_02 | AC | 40 ms
31,140 KB |
testcase_03 | AC | 40 ms
31,120 KB |
testcase_04 | AC | 41 ms
31,128 KB |
testcase_05 | AC | 46 ms
30,880 KB |
testcase_06 | AC | 40 ms
30,760 KB |
testcase_07 | AC | 40 ms
31,164 KB |
testcase_08 | AC | 40 ms
30,852 KB |
testcase_09 | AC | 40 ms
30,888 KB |
testcase_10 | AC | 41 ms
31,072 KB |
testcase_11 | AC | 40 ms
31,080 KB |
testcase_12 | WA | - |
testcase_13 | AC | 40 ms
31,196 KB |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | AC | 40 ms
30,892 KB |
testcase_17 | AC | 39 ms
30,796 KB |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php [$a,$a1,$b,$b1] = explode(" ",trim(fgets(STDIN))); $c = $a-$b; 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"; }else { echo "Draw"; } ?>