結果
問題 |
No.339 何人が回答したのか
|
ユーザー |
|
提出日時 | 2019-07-31 14:57:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 1,000 ms |
コード長 | 224 bytes |
コンパイル時間 | 73 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-05 06:28:43 |
合計ジャッジ時間 | 3,555 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 61 |
ソースコード
import math n = int(input()) a = [int(input()) for _ in range(n)] if n == 1: print(1) else: x = math.gcd(a[0], a[1]) if n > 2: for i in range(2, n): x = math.gcd(x, a[i]) print(100 // x)