OpenFIPI 2.0
9EF0FE
РедактироватьОтветы
9863
9829
9829
9829
cnt = 0 for s in open('9.txt'): s = sorted(list(map(int,s.split()))) if len(set(s))==5 and 3*s[0]*s[4] <= 2*s[1]*s[2]*s[3]: cnt+=1 print(cnt)
cnt = 0 for s in open('9.txt'): s = sorted(list(map(int,s.split()))) if len(set(s))==5 and 3*s[0]*s[4] <= 2*s[1]*s[2]*s[3]: cnt+=1 print(cnt)
cnt = 0 for s in open('9.txt'): s = sorted(list(map(int,s.split()))) if len(set(s))==5 and 3*s[0]*s[4] <= 2*s[1]*s[2]*s[3]: cnt+=1 print(cnt)
cnt = 0 for s in open('9.txt'): s = sorted(list(map(int,s.split()))) if len(set(s))==5 and 3*s[0]*s[4] <= 2*s[1]*s[2]*s[3]: cnt+=1 print(cnt)
