結果

問題 No.1423 Triangle of Multiples
ユーザー marroncastlemarroncastle
提出日時 2021-03-12 21:36:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 239 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 82,448 KB
実行使用メモリ 76,292 KB
最終ジャッジ日時 2024-04-22 12:23:57
合計ジャッジ時間 1,236 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,276 KB
testcase_01 AC 38 ms
52,444 KB
testcase_02 AC 95 ms
76,228 KB
testcase_03 AC 91 ms
76,292 KB
testcase_04 AC 94 ms
75,936 KB
権限があれば一括ダウンロードができます

ソースコード

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