結果

問題 No.780 オフ会
ユーザー mesh1nekomesh1neko
提出日時 2020-09-30 10:06:45
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 1,177 ms
コンパイル使用メモリ 18,340 KB
実行使用メモリ 18,756 KB
最終ジャッジ日時 2023-09-19 04:32:00
合計ジャッジ時間 3,372 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
18,756 KB
testcase_01 AC 16 ms
18,704 KB
testcase_02 AC 16 ms
18,708 KB
testcase_03 AC 16 ms
18,648 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 17 ms
18,692 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 16 ms
18,504 KB
testcase_10 AC 16 ms
18,652 KB
testcase_11 WA -
testcase_12 AC 17 ms
18,648 KB
testcase_13 AC 16 ms
18,704 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 16 ms
18,580 KB
testcase_17 AC 16 ms
18,700 KB
testcase_18 WA -
testcase_19 AC 16 ms
18,640 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($a,$b) = explode(" ", trim(fgets(STDIN)));
$remain=$a - $b;
if($remain + 1 <= 0) {
    echo "YES\n";
} else {
    echo "NO\n";
}
echo $remain + 1;
0