結果
| 問題 | No.736 約比 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-04 15:44:07 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 591 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-04-29 11:06:42 |
| 合計ジャッジ時間 | 18,164 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))