結果

問題 No.1423 Triangle of Multiples
ユーザー marroncastle
提出日時 2021-03-12 21:36:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 239 bytes
コンパイル時間 201 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 76,288 KB
最終ジャッジ日時 2024-10-14 11:48:24
合計ジャッジ時間 1,208 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys,os,io
input = sys.stdin.readline
#input = io.BytesIO(os.read(0,os.fstat(0).st_size)).readline
T = int(input())
for t in range(T):
  A, B, C = map(int, input().split())
  n = (A*B)*(10**6//(A*B)+1)
  m = C*(n//C+1)
  print(n,n,m)
0