結果

問題 No.1423 Triangle of Multiples
ユーザー deepjugglingdeepjuggling
提出日時 2022-06-14 21:30:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 82,164 KB
実行使用メモリ 77,760 KB
最終ジャッジ日時 2024-04-12 10:54:33
合計ジャッジ時間 1,574 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n = int(input())
for i in range(n):
    x = list(map(int,input().split()))
    x.sort()
    if x[2] < x[0]+x[1]:
        print(*x)
    else:
        z = x[2]-x[0]
        y = z//x[1]
        print(x[0],x[1]*(y+1),x[2])
0