Toggle navigation
YouTube
Facebook
Telegram
english
english
українська
Algotester 4.3
Build 496
2024-10-17
Log In
Contact Us
College
Sponsors
Donate
Sources
Python 3
n = int(input()) ans = 0 for i in range(n): x1, y1, x2, y2 = map(int, input().split()) ans += round(((x1 - x2)**2 + (y1 - y2)**2) ** 0.5) print(ans)