結果
| 問題 |
No.1423 Triangle of Multiples
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-16 19:29:16 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| コンパイル時間 | 184 ms |
| コンパイル使用メモリ | 82,560 KB |
| 実行使用メモリ | 77,696 KB |
| 最終ジャッジ日時 | 2024-11-08 09:15:35 |
| 合計ジャッジ時間 | 1,593 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 4 |
ソースコード
T = int(input())
for case in range(T):
A, B, C = map(int, input().split())
O = [A, B, C]
X = [A, B, C]
if sum(X) <= 2 * max(X):
i = X.index(min(X))
X[i] += (2 * max(X) - sum(X) + O[i] - 1) // O[i]
print(*X)