結果

問題 No.383 レーティング
ユーザー kagikakko_karikagikakko_kari
提出日時 2016-07-20 18:39:46
言語 PHP
(8.3.4)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 32,276 KB
実行使用メモリ 31,172 KB
最終ジャッジ日時 2024-04-23 17:21:08
合計ジャッジ時間 1,468 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
30,824 KB
testcase_01 AC 43 ms
31,104 KB
testcase_02 AC 41 ms
30,952 KB
testcase_03 AC 42 ms
31,144 KB
testcase_04 AC 41 ms
31,116 KB
testcase_05 AC 40 ms
31,112 KB
testcase_06 AC 42 ms
30,876 KB
testcase_07 AC 44 ms
31,100 KB
testcase_08 AC 43 ms
31,160 KB
testcase_09 AC 40 ms
30,792 KB
testcase_10 AC 40 ms
30,768 KB
testcase_11 AC 44 ms
30,800 KB
testcase_12 AC 41 ms
31,108 KB
testcase_13 AC 42 ms
31,172 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($a,$b) = explode(" ",trim(fgets(STDIN)));
if($a == $b){
    echo 0;
}else{
    if($a < $b){
        echo "+";
    }
    echo $b - $a;
}
?>
0