結果

問題 No.736 約比
ユーザー utsumidaisuke
提出日時 2018-12-20 10:28:19
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 296 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,692 KB
最終ジャッジ日時 2024-09-25 08:24:39
合計ジャッジ時間 3,839 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 TLE * 1 -- * 59
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
sq = list(map(int,input().split()))

mn = min(sq)
rsq = []
for i in range(mn):
    tsq = []
    for j in sq:
        if j % (i+1) == 0:
            tsq.append(j//(i+1))
        else:
            break
    if len(tsq) == n:
        rsq = tsq
print(":".join([str(i) for i in rsq]))
0