結果
問題 |
No.736 約比
|
ユーザー |
|
提出日時 | 2018-10-04 15:44:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 219 bytes |
コンパイル時間 | 99 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-10-12 12:16:49 |
合計ジャッジ時間 | 3,570 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 WA * 32 |
ソースコード
import math from functools import reduce def gcd(*numbers): return reduce(math.gcd, numbers) n = int(input()) l = [int(_) for _ in input().split()] x = gcd(*l) l1 = [str(int(i/x)) for i in l] print(':'.join(l1))