結果

問題 No.383 レーティング
ユーザー takoshi186takoshi186
提出日時 2016-08-01 14:43:44
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 154 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 30,952 KB
実行使用メモリ 31,472 KB
最終ジャッジ日時 2024-04-24 13:29:34
合計ジャッジ時間 1,330 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

<?php

    list( $a, $b ) = explode(" ", trim(fgets(STDIN)));
    
    $res = $b -$a;
    
    if( 0 < $res ){
        echo "+".$res;
    }
    echo $res;
0