結果

問題 No.383 レーティング
ユーザー 👑 yumechiyumechi
提出日時 2016-08-06 01:27:44
言語 PHP
(8.3.4)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 118 bytes
コンパイル時間 161 ms
コンパイル使用メモリ 31,388 KB
実行使用メモリ 31,256 KB
最終ジャッジ日時 2024-04-24 17:04:07
合計ジャッジ時間 1,438 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
31,076 KB
testcase_01 AC 41 ms
31,200 KB
testcase_02 AC 41 ms
31,136 KB
testcase_03 AC 40 ms
31,148 KB
testcase_04 AC 44 ms
30,952 KB
testcase_05 AC 40 ms
31,164 KB
testcase_06 AC 39 ms
31,000 KB
testcase_07 AC 42 ms
31,148 KB
testcase_08 AC 34 ms
31,124 KB
testcase_09 AC 36 ms
31,100 KB
testcase_10 AC 36 ms
31,084 KB
testcase_11 AC 34 ms
31,024 KB
testcase_12 AC 33 ms
31,256 KB
testcase_13 AC 35 ms
31,116 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$arr = explode(' ', trim(fgets(STDIN)));
echo ($arr[1] > $arr[0] ? "+" : "") . ($arr[1] - $arr[0]) . PHP_EOL;
?>
0