結果

問題 No.857 素振り
ユーザー mondomondo
提出日時 2019-08-13 12:31:57
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 32,424 KB
実行使用メモリ 32,548 KB
最終ジャッジ日時 2023-10-19 17:03:34
合計ジャッジ時間 1,270 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
32,548 KB
testcase_01 AC 45 ms
32,548 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 45 ms
32,548 KB
testcase_06 AC 45 ms
32,548 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($rest1, $rest2, $finish) = explode(" ", trim(fgets(STDIN)));
$cnt = 0;
if ($rest1 <= $finish || $rest2 <= $finish) {
    $cnt++;
}
echo abs($finish - $cnt);
0