結果

問題 No.937 Ultra Sword
ユーザー wolgnik
提出日時 2019-12-01 13:39:11
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 179 bytes
コンパイル時間 429 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 88,960 KB
最終ジャッジ日時 2024-11-21 04:49:34
合計ジャッジ時間 8,696 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 47
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from fractions import gcd
input = sys.stdin.readline
N = int(input())
a = list(map(int, input().split()))
g = 0
res = sum(a)
for x in a:
  g = gcd(g, x)
print(res // g)
0