結果
| 問題 |
No.339 何人が回答したのか
|
| コンテスト | |
| ユーザー |
matsu7874
|
| 提出日時 | 2015-09-25 15:31:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 28 ms / 1,000 ms |
| コード長 | 207 bytes |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-19 09:12:39 |
| 合計ジャッジ時間 | 3,336 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 61 |
ソースコード
def gcd(a, b):
while b > 0:
a, b = b, a % b
return a
N = int(input())
A = [int(input()) for i in range(N)]
unit = A[0]
for i in range(1, N):
unit = gcd(unit, A[i])
print(100 // unit)
matsu7874