結果
問題 | No.1423 Triangle of Multiples |
ユーザー | roaris |
提出日時 | 2021-03-12 22:05:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 120 ms / 2,000 ms |
コード長 | 285 bytes |
コンパイル時間 | 158 ms |
コンパイル使用メモリ | 81,988 KB |
実行使用メモリ | 76,856 KB |
最終ジャッジ日時 | 2024-10-14 12:32:09 |
合計ジャッジ時間 | 1,197 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)