結果

問題 No.1423 Triangle of Multiples
ユーザー convexineqconvexineq
提出日時 2021-03-12 21:28:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 184 bytes
コンパイル時間 570 ms
コンパイル使用メモリ 82,192 KB
実行使用メモリ 76,996 KB
最終ジャッジ日時 2024-04-22 12:11:33
合計ジャッジ時間 1,671 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
51,968 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve(lst):
    A,b,c = sorted(lst)
    #xa + b > c
    x = (c-b)//A+1
    a = A*x
    return a,b,c

T = int(input())
for _ in range(T):
    print(*solve(map(int,input().split())))
0