結果

問題 No.3163 [Cherry 7th Tune N] Draft
コンテスト
ユーザー hato336
提出日時 2025-05-30 21:21:01
言語 PyPy3
(7.3.17)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 484 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 200 ms
コンパイル使用メモリ 82,616 KB
実行使用メモリ 86,376 KB
最終ジャッジ日時 2026-01-23 20:33:04
合計ジャッジ時間 1,959 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline
#n = int(input())
#a = list(map(int,input().split()))
#a = []
#s = input()
#n,m = map(int,input().split())
#for i in range(n):
#    a.append(list(map(int,input().split())))
t = int(input())
def solve():
    a = list(map(int,input().split()))
    print(max(a) -min(a))
for i in range(t):
    solve()
0