結果

問題 No.383 レーティング
ユーザー RyutoRyuto
提出日時 2018-03-31 13:11:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 336 ms
コンパイル使用メモリ 87,188 KB
実行使用メモリ 71,680 KB
最終ジャッジ日時 2023-09-08 08:01:17
合計ジャッジ時間 2,650 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,524 KB
testcase_01 AC 66 ms
71,680 KB
testcase_02 AC 66 ms
71,452 KB
testcase_03 AC 64 ms
71,388 KB
testcase_04 AC 64 ms
71,464 KB
testcase_05 AC 66 ms
71,536 KB
testcase_06 AC 68 ms
71,344 KB
testcase_07 AC 67 ms
71,332 KB
testcase_08 AC 66 ms
71,344 KB
testcase_09 AC 67 ms
71,332 KB
testcase_10 AC 66 ms
71,388 KB
testcase_11 AC 65 ms
71,304 KB
testcase_12 AC 64 ms
71,308 KB
testcase_13 AC 65 ms
71,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python

inval = [int(x) for x in input().split()]
diff = inval[1] - inval[0]
if diff == 0:
    print(0)
else:
    print('{:+}'.format(diff))
0