#2626: don't send the bad ans


1752786-4@g.puiching.edu.mo (P6A08林敬晉)

School : Pui Ching Middle School
ID : 3260
IP address : [192.168.120.33]
Last Login :
2025-10-17 15:44:38
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