結果
問題 |
No.736 約比
|
ユーザー |
![]() |
提出日時 | 2020-06-12 21:26:59 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 179 bytes |
コンパイル時間 | 236 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-06-24 04:24:45 |
合計ジャッジ時間 | 4,384 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 65 |
ソースコード
from functools import reduce from math import gcd N = int(input()) A = list(map(int, input().split())) g = reduce(gcd, A) res = list(map(lambda x: x // g, A)) print(*res, sep=':')