結果
| 問題 | No.736 約比 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-12-15 16:04:22 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 162 bytes |
| 記録 | |
| コンパイル時間 | 290 ms |
| コンパイル使用メモリ | 21,460 KB |
| 実行使用メモリ | 15,916 KB |
| 最終ジャッジ日時 | 2026-09-03 21:06:49 |
| 合計ジャッジ時間 | 9,605 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 WA * 32 |
ソースコード
from functools import reduce
import math
n = int(input())
ar = list(map(int,input().split()))
g = reduce(math.gcd, ar)
print(':'.join(str(int(s/g)) for s in ar))