結果
| 問題 | No.736 約比 |
| コンテスト | |
| ユーザー |
rythem00359
|
| 提出日時 | 2020-08-18 18:18:07 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WJ
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 168 bytes |
| 記録 | |
| 最終ジャッジ日時 | 2026-09-14 10:37:33 |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
ソースコード
from math import gcd
N=int(input())
a=[*map(int,input().split())]
ans=a[0]
for i in a:
ans=gcd(ans,i)
if ans!=1: a=list(map(lambda x: x//ans, a))
print(*a, sep=':')
rythem00359