結果
| 問題 |
No.736 約比
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-04 15:17:17 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 258 bytes |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 24,264 KB |
| 最終ジャッジ日時 | 2024-10-12 12:16:18 |
| 合計ジャッジ時間 | 6,985 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 64 |
ソースコード
n = int(input())
l = [int(_) for _ in input().split()]
x = sorted(l)[-1]
x = [i for i in range(1, x+1) if x%i == 0]
l1 = [j for i in l for j in x if i%j == 0]
l1 = [i for i in l1 if l1.count(i) == n][-1]
l1 = [str(int(i/l1)) for i in l]
print(':'.join(l1))