結果
| 問題 |
No.339 何人が回答したのか
|
| コンテスト | |
| ユーザー |
双六
|
| 提出日時 | 2020-08-06 02:54:48 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 415 bytes |
| コンパイル時間 | 127 ms |
| コンパイル使用メモリ | 82,264 KB |
| 実行使用メモリ | 89,120 KB |
| 最終ジャッジ日時 | 2024-09-18 23:04:22 |
| 合計ジャッジ時間 | 9,827 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 61 |
ソースコード
import sys; input = sys.stdin.buffer.readline
sys.setrecursionlimit(10**7)
from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")
def getlist():
return list(map(int, input().split()))
from fractions import gcd
#処理内容
def main():
N = int(input())
A = int(input())
val = A
for i in range(N - 1):
a = int(input())
val = gcd(val, a)
print(val)
if __name__ == '__main__':
main()
双六