結果

問題 No.1423 Triangle of Multiples
ユーザー roarisroaris
提出日時 2021-03-12 22:05:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 285 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 77,056 KB
最終ジャッジ日時 2024-04-22 13:03:53
合計ジャッジ時間 1,492 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
53,632 KB
testcase_01 AC 47 ms
53,504 KB
testcase_02 AC 135 ms
77,056 KB
testcase_03 AC 114 ms
76,928 KB
testcase_04 AC 114 ms
76,800 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0