Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N = int(input())
- arr = []
- for i in range(N):
- arr.append([0] * N)
- x = int(input())
- k = True
- for j in range (N):
- if ((arr[i] % x) == 0):
- print(i)
- k = false
- if k:
- print(-1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement