結果
| 問題 |
No.736 約比
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-11 16:54:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 160 bytes |
| コンパイル時間 | 130 ms |
| コンパイル使用メモリ | 82,392 KB |
| 実行使用メモリ | 54,616 KB |
| 最終ジャッジ日時 | 2024-07-18 05:29:57 |
| 合計ジャッジ時間 | 4,158 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 65 |
ソースコード
N=int(input())
a=list(map(int,input().split()))
import math
GCD=a[0]
for i in range(1,N):
GCD=math.gcd(GCD,a[i])
for i in range(N):
a[i]//=GCD
print(*a)