結果
| 問題 | No.1423 Triangle of Multiples |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-12 22:05:19 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 139 ms / 2,000 ms |
| コード長 | 285 bytes |
| 記録 | |
| コンパイル時間 | 181 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 81,920 KB |
| 最終ジャッジ日時 | 2026-05-01 22:29:02 |
| 合計ジャッジ時間 | 1,750 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
import sys
input = sys.stdin.readline
from collections import *
for _ in range(int(input())):
A, B, C = map(int, input().split())
m = min(A, B, C)
if m==A:
print(A*C, B*C, B*C)
elif m==B:
print(A*C, B*C, A*C)
else:
print(A*B, A*B, B*C)