結果
| 問題 | No.1423 Triangle of Multiples |
| コンテスト | |
| ユーザー |
deepjuggling
|
| 提出日時 | 2022-06-14 21:35:27 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 82,220 KB |
| 実行使用メモリ | 77,536 KB |
| 最終ジャッジ日時 | 2024-10-02 22:39:24 |
| 合計ジャッジ時間 | 1,295 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 4 |
ソースコード
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[1]
y = z//x[0]
print(x[0]*(y+1),x[1],x[2])
deepjuggling