#32386: python 一行解


wuke950722 (臥思可哀笑南梁)

學校 : 國立虎尾高級中學
編號 : 179645
來源 : [36.232.252.191]
最後登入時間 :
2023-12-01 19:21:33

24ms 畢竟是一行解  優化什麼的

import functools;import math;(lambda n,list:print(functools.reduce(math.gcd, [int(i) for i in list] )))(input(),input().split())