結果

問題 No.1423 Triangle of Multiples
ユーザー titiatitia
提出日時 2021-03-12 21:30:36
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 207 bytes
コンパイル時間 185 ms
コンパイル使用メモリ 10,628 KB
実行使用メモリ 7,988 KB
最終ジャッジ日時 2023-08-04 14:34:35
合計ジャッジ時間 1,264 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,820 KB
testcase_01 AC 15 ms
7,756 KB
testcase_02 AC 123 ms
7,820 KB
testcase_03 AC 118 ms
7,988 KB
testcase_04 AC 119 ms
7,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

T=int(input())
for tests in range(T):
    A,B,C=map(int,input().split())
    A*=123
    B*=456
    C*=7890000000

    A=A*(C//A)
    B=B*(C//B)

    print(A,B,C)

    
0