#2626: don't send the bad ans


1752786-4@g.puiching.edu.mo (林敬晉P5A08(JalenLam_progamer)(IQ...)

School : Pui Ching Middle School
ID : 3260
IP address : [192.168.120.33]
Last Login :
2025-06-05 11:37:15
a250. 求三個數的最大公約數 | From: [192.168.120.33] | Post Date : 2025-06-16 17:40

a = list(map(int,input().split(',')))

for i in range(min(a),0,-1):

    if all(j%i==0 for j in a):

        print(i)

        break

# this is not the bad ans, it is not the ans for a001

 
ZeroJudge Forum