結果
| 問題 | No.736 約比 |
| コンテスト | |
| ユーザー |
r_ishida
|
| 提出日時 | 2026-01-24 06:39:18 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 66 ms / 2,000 ms |
| + 176µs | |
| コード長 | 413 bytes |
| 記録 | |
| コンパイル時間 | 230 ms |
| コンパイル使用メモリ | 95,732 KB |
| 実行使用メモリ | 79,232 KB |
| 最終ジャッジ日時 | 2026-07-20 18:10:31 |
| 合計ジャッジ時間 | 7,949 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 65 |
ソースコード
import math import sys def S(): return sys.stdin.readline().rstrip() def I(): return int(sys.stdin.readline().rstrip()) def MI(): return map(int, sys.stdin.readline().rstrip().split()) def LI(): return list(map(int, sys.stdin.readline().rstrip().split())) def LS(): return list(sys.stdin.readline().rstrip().split()) n = I() a = LI() g = math.gcd(*a) a = map(lambda x: str(x//g), a) ans = ":".join(a) print(ans)
r_ishida