結果
問題 |
No.736 約比
|
ユーザー |
|
提出日時 | 2018-12-20 10:41:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 375 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,820 KB |
最終ジャッジ日時 | 2024-09-25 08:24:43 |
合計ジャッジ時間 | 3,722 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 TLE * 1 -- * 59 |
ソースコード
n = int(input()) sq = list(map(int,input().split())) mn = min(sq) rsq = [] for i in range(mn,0,-1): if len(rsq) == n: break else: tsq = [] for j in sq: if j % (i) == 0: tsq.append(j//(i)) else: break if len(tsq) == n: rsq = tsq print(":".join([str(i) for i in rsq]))