結果

問題 No.1129 Rating じゃんけん
ユーザー SKSK
提出日時 2022-12-20 15:23:47
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 262 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 30,768 KB
実行使用メモリ 31,324 KB
最終ジャッジ日時 2024-04-29 02:49:29
合計ジャッジ時間 1,635 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 40 ms
31,008 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 42 ms
31,112 KB
testcase_05 WA -
testcase_06 AC 41 ms
30,760 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 39 ms
30,980 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 41 ms
31,060 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

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

?> 
0