結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
30,964 KB
testcase_01 AC 37 ms
31,308 KB
testcase_02 AC 38 ms
30,920 KB
testcase_03 AC 36 ms
31,108 KB
testcase_04 AC 37 ms
31,128 KB
testcase_05 AC 36 ms
31,000 KB
testcase_06 AC 36 ms
31,372 KB
testcase_07 AC 41 ms
31,304 KB
testcase_08 AC 37 ms
31,020 KB
testcase_09 AC 35 ms
31,160 KB
testcase_10 AC 34 ms
30,992 KB
testcase_11 AC 35 ms
31,324 KB
testcase_12 AC 35 ms
31,084 KB
testcase_13 AC 34 ms
31,072 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