Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- list = []
- counter1 = 0
- for i in range(a):
- list.append(input().split())
- print(list)
- for i in range(a):
- counter = i
- counter1 = i
- while counter1 != a:
- counter += 1
- counter1 += 1
- new_distance = abs(int(list[i][0]) - int(list[counter][0])) + abs(int(list[i][1]) - int(list[counter][1]))
- print(list[i][2],list[counter][2])
- new_circle = list[i][2] + list[counter][2]
- print(new_distance,new_circle)
- if new_distance <= int(new_circle):
- print("poop")
- #print(int(i) + 1,int(counter) + 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement