結果
| 問題 |
No.1423 Triangle of Multiples
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-23 05:42:15 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 188 ms / 2,000 ms |
| コード長 | 193 bytes |
| コンパイル時間 | 181 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 76,928 KB |
| 最終ジャッジ日時 | 2024-11-07 05:31:19 |
| 合計ジャッジ時間 | 1,846 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
n = 10 ** 9
def solve():
a, b, c = map(int, input().split())
x = n // a * a
y = n // b * b
z = n // c * c
print(x, y, z)
for _ in range(int(input())):
solve()