Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/problem?id=58321
- data = open('9.txt').readlines()
- a = []
- for e in data:
- a.append(list(map(int, e.split())))
- answ = 0
- for e in a:
- e.sort()
- if e[0] * 6 < e[1] + e[2] + e[3] and e[0] * e[3] > e[1] * e[2]:
- answ += 1
- print(answ)
Advertisement
Add Comment
Please, Sign In to add comment