結果
| 問題 |
No.1423 Triangle of Multiples
|
| コンテスト | |
| ユーザー |
ryuusagi
|
| 提出日時 | 2021-03-12 21:49:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 187 ms / 2,000 ms |
| コード長 | 201 bytes |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 82,080 KB |
| 実行使用メモリ | 77,180 KB |
| 最終ジャッジ日時 | 2024-10-14 12:10:44 |
| 合計ジャッジ時間 | 1,814 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
for _ in range(int(input())):
a,b,c=map(int,input().split())
if b<=a>=c:
print(a,a//b*b,a//c*c)
elif a<=b>=c:
print(b//a*a,b,b//c*c)
else:
print(c//a*a,c//b*b,c)
ryuusagi