Tên đăng nhập Điểm ▾ Bài tập Giới thiệu
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0

ewrewew

30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0

I'm Phan Thanh Ha, 14 years olds. I am living in Da Lat City

30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0

hi minh ten thu

30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0

SoungooDollylu

30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0

Hhh

30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0

m = int(input("number:"))

lst = []
lst_uc = []
check = 0

get is n

get = 1

for i in range(1,m+1):
p,k = input().split()
while int(p) > 1000000000 or int(k) > 1000000000:
p,k = input().split()
get = get * (int(p)**int(k))

for f in range(1,get):
if get % int(f) == 0:
lst_uc.append(int(f))

for p in range(1,m+1):
a,b = input().split()
for m in range(int(a),int(b)):
for p in lst_uc:
if int(m) == int(p):
check += 1
lst.append(check+1)
check = 0

print(lst)

30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0
30901 0 0