結果
| 問題 |
No.736 約比
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-24 16:08:09 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 378 bytes |
| コンパイル時間 | 180 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 26,624 KB |
| 最終ジャッジ日時 | 2024-11-19 05:27:20 |
| 合計ジャッジ時間 | 182,839 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 TLE * 59 |
ソースコード
n = int(input())
l = list(map(int, input().split()))
c = {}
for i in l:
for j in range(1, i+1):
if i % j == 0:
if not j in c:
c[j] = 1
else:
c[j] += 1
x = max(c.values())
l2 = []
for i in c:
if c[i] == x:
l2.append(i)
y = max(l2)
l3 = []
for i in l:
l3.append(str(i//y))
print(':'.join(l3))