結果

問題 No.1883 SLASH
ユーザー titan23
提出日時 2022-06-14 13:36:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 219 ms
コンパイル使用メモリ 82,356 KB
実行使用メモリ 54,028 KB
最終ジャッジ日時 2024-10-02 08:40:49
合計ジャッジ時間 1,544 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

###############

s = input()
print(max([int(x) for x in s]) - min([int(x) for x in s]))
0