結果

問題 No.1883 SLASH
ユーザー octet9445octet9445
提出日時 2022-03-25 21:23:04
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 537 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 71,548 KB
最終ジャッジ日時 2023-08-04 08:05:52
合計ジャッジ時間 2,319 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,436 KB
testcase_01 AC 64 ms
71,284 KB
testcase_02 AC 65 ms
71,456 KB
testcase_03 AC 64 ms
71,300 KB
testcase_04 AC 66 ms
71,360 KB
testcase_05 AC 66 ms
71,188 KB
testcase_06 AC 66 ms
71,268 KB
testcase_07 AC 63 ms
71,456 KB
testcase_08 AC 65 ms
71,272 KB
testcase_09 AC 64 ms
71,308 KB
testcase_10 AC 68 ms
71,548 KB
testcase_11 AC 66 ms
71,432 KB
testcase_12 AC 67 ms
71,356 KB
testcase_13 AC 64 ms
71,484 KB
testcase_14 AC 63 ms
71,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

abc = int(input())

a = abc // 100

b = (abc - a*100) // 10

c = abc - a*100 - b*10

M = max(max(a, b), c)

m = min(min(a, b), c)

print (M-m)
0