結果
問題 | No.1883 SLASH |
ユーザー | Ryota_Py |
提出日時 | 2022-03-25 22:42:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 2,000 ms |
コード長 | 528 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-14 06:40:25 |
合計ジャッジ時間 | 1,243 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
import sys,math,string from collections import deque import collections def I(): return int(input()) def MI(): return map(int,input().split()) def LI(): return list(map(int,input().split())) def TI(): return tuple(map(int,input().split())) def S(): return input() def LS(): return list(input().split()) def TS(): return tuple(input().split()) def lcm(a, b): return a * b // math.gcd(a, b) MOD1 = 10**9+7 #500000004 MOD2 = 998244353 #499122177 sys.setrecursionlimit(10**9) n = list(map(int,list(S()))) n.sort() print(n[2]-n[0])