結果
| 問題 | No.1423 Triangle of Multiples |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-16 19:29:16 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| 記録 | |
| コンパイル時間 | 350 ms |
| コンパイル使用メモリ | 85,432 KB |
| 実行使用メモリ | 82,392 KB |
| 最終ジャッジ日時 | 2026-05-08 15:14:39 |
| 合計ジャッジ時間 | 1,880 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)