Problem:


How Many Divisors?

  Write a program which reads three integers a, b and c, and prints the number of divisors of c between a and b.

Input

  Three integers a, b and c are given in a line separated by a single space.

Output

Print the number of divisors in a line.

Constraints

  
 1 ≤ a, b, c ≤ 10000

  
 a ≤ b

Sample Input 1

5 14 80

Sample Output 1

3



Sample input:
5 14 80


Sample output:
3

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    n = input().split()
    a = int(n[0])
    b = int(n[1])
    c = int(n[2])
    div = 0

    one_div=(a == b) or c % a == 0 or c % b == 0

    if one_div:
        div = 1

    for i in range(a, b):
        div_ans = c % i
        if div_ans == 0:
            div += 1

    print(div)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
a,b,c = map(int,sys.stdin.readline().split())
counter = 0
for n in range(a,b):
    if c%n == 0:
        counter += 1

print(counter)

Submission status: Wrong Answer

Solution code:
count = 0
count = int(count)
a,b,c = map(int,input().split())
while a != b:
    if c % a == 0 :
        num = 2
        num = int(num)
        flag = 0
        count = count + 1
    a = a + 1 
print('{}'.format(count))

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
d = 0

for i in range(a,b):
    if c%i ==0:
        d += 1
print(d)

Submission status: Wrong Answer

Solution code:
l = input().split()
a = int(l[0])
b = int(l[1])
c = int(l[2])

d = []
for i in range(a,b):
    if c % i == 0:
        d.append(i)
print(len(d))

Submission status: Wrong Answer

Solution code:
# coding:utf-8
array = map(int, raw_input().split())
d = array[0] / array[1]
r = array[0] % array[1]
f = float(array[0]) / array[1]

print d,r,
print "%.20f\n" % round(f,10)

Submission status: Wrong Answer

Solution code:
instr = input()
instrSp = instr.split()

a = int(instrSp[0])
b = int(instrSp[1])
c = int(instrSp[2])

cnt = 0
for i in range(a, b):
    if c % i == 0:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
a,b,c = [int(x) for x in input().split( )]
div = set()
for x in range(1,c+1):
    if c % x == 0:
        div.add(x)
r = set()
for x in range(a,b+1):
    r.add(x)
answer_set = div&r
print(' '.join(map(str,answer_set)))

Submission status: Wrong Answer

Solution code:
a,b,c = [int(x) for x in input().split( )]
count = 0
for number in range(a,b+1):
    if c % number == 0:
        count += 1

Submission status: Wrong Answer

Solution code:
tmp = input().split()
a = int(tmp[0])
b = int(tmp[1])
c = int(tmp[2])
ans = 0
for n in range(a,b):
    if c % n == 0:
        ans +=1
    else:
        pass
print(ans)

Submission status: Wrong Answer

Solution code:
tmp = input().split()
a = int(tmp[0])
b = int(tmp[1])
c = int(tmp[2])
ans = 0
for n in range(a,b):
    if c % n == 0:
        ans +=1
    else:
        pass
if a == b:
    if c % a == 0:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
tmp = input().split()
a = int(tmp[0])
b = int(tmp[1])
c = int(tmp[2])
ans = 0
for n in range(a,b+1):
    if c % n == 0:
        ans +=1
    else:
        pass
if a == b:
    if c % a == 0:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
tmp = input().split()
a = int(tmp[0])
b = int(tmp[1])
c = int(tmp[2])
ans = 0
for n in range(a,b + 1):
    if c % n == 0:
        ans +=1
    else:
        pass
if a == b:
    if c % a == 0:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())

count = 0
for loop in range(a,b):
    if c % loop == 0:
        count +=1

print(count)

Submission status: Wrong Answer

Solution code:
#Repetitive Processing - How Many Divisors?

count=0
a,b,c=map(int,input().split())
for i in range(a,b):
    if c%i==0:
        count+=1
print(count)

Submission status: Wrong Answer

Solution code:
def func():
    a,b,c = input().split(" ")
    a = int(a)
    b = int(b)
    c = int(c)
    cnt = 0

    for i in range(a,b+1):
        if 0 == i % c:
            cnt = cnt +1

    print(cnt)

    return 0

if __name__ == "__main__":
    ret = func()

Submission status: Wrong Answer

Solution code:
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
ans=0
for i in range(a,b,1) :
    if c%i==0 :
        ans+=1
print("{}".format(ans))

Submission status: Wrong Answer

Solution code:
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
ans=0
if a==b and c%a==0 :
    ans=1
else :
    for i in range(a,b) :
        if c%i==0 :
            ans+=1
print("{}".format(ans))

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
num = 0
for x in range(a,b):
    if c%x == 0:
        num+=1
print(num)

Submission status: Wrong Answer

Solution code:
#coding: utf-8

a, b, c = (int(i) for i in input().split())
answer = 0

for i in range(a,b):
    if c % i == 0:
        answer += 1

print(answer)

Submission status: Wrong Answer

Solution code:
a,b,c = [int(x) for x in input().split()]
p = 0
for i in range(b-a):
	if c % a == 0:
		p += 1
	a += 1
print(p)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())

k=0
for j in range(a,b):
     if c%j==0:
          k+=1
print(j)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())

k=0
for j in range(a,b+1):
     if c%j==0:
          k+=1
print(j)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())

k=0
for j in range(a+1,b):
     if c%j==0:
          k+=1
print(j)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())

k=0
for j in range(a,b):
     if c%j==0:
          k+=1
print(k)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())

k=0
for j in range(a+1,b):
     if c%j==0:
          k+=1

print(k)

Submission status: Wrong Answer

Solution code:
a, b, c= map(int, input(). split())
n = 0
for i in range(a, b):
  if c % i == 0:
    n+= 1
print(str(n))

Submission status: Wrong Answer

Solution code:
list=input().split()
print(len(list))

Submission status: Wrong Answer

Solution code:
list=input().split()
li_uniq = []
for x in list:
    if x not in li_uniq:
        li_uniq.append(x)
print(len(li_uniq))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
result = 0
for x in range(a, b):
    if c % x == 0:
        result += 1

print(result)

Submission status: Wrong Answer

Solution code:
n=input().split(" ")
a=int(n[0])
b=int(n[1])
c=int(n[2])
count=0
for i in range(a+b+1):
    count=i+1
print(count)

Submission status: Wrong Answer

Solution code:
n=input().split(" ")
a=int(n[0])
b=int(n[1])
c=int(n[2])
count=0
for i in range(c+1):
    count=i+1
print(count)

Submission status: Wrong Answer

Solution code:
n=input().split(" ")
a=int(n[0])
b=int(n[1])
c=int(n[2])
count=0
for i in range(a+b+c+1):
    count=i+1
print(count)

Submission status: Wrong Answer

Solution code:
n=input().split(" ")
a=int(n[0])
b=int(n[1])
c=int(n[2])
count=0
for i in range(a+b+c+1):
    count=+1
print(count)

Submission status: Wrong Answer

Solution code:
n=input().split(" ")
a=int(n[0])
b=int(n[1])
c=int(n[2])
count=0
for i in range(a+b+c+1):
    count+=1
print(count)

Submission status: Wrong Answer

Solution code:
n=input().split(" ")
a=int(n[0])
b=int(n[1])
c=int(n[2])
count=0
for i in range(a+b+c+1):
    count+=1
    print(count)

Submission status: Wrong Answer

Solution code:
n=input().split(" ")
a=int(n[0])
b=int(n[1])
c=int(n[2])
count=0
for i in range(a+b+1):
    count+=1
    print(count)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
answer=0
for i in range(a,b):
    if c%i == 0:
        answer +=1
print(answer)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
count = 0
for i in range(5,b+1):
    if(c%i == 0):
        count+=1
print(count)

Submission status: Wrong Answer

Solution code:
temp = raw_input()
temp_list = temp.split()
a = int(temp_list[0])
b = int(temp_list[1])
c = int(temp_list[2])

count = 0
for i in range(a,b):
  if c/i == 0:
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
temp = raw_input()
temp_list = temp.split()
a = int(temp_list[0])
b = int(temp_list[1])
c = int(temp_list[2])
 
count = 0
for i in range(a,b+1):
  if c/i == 0:
    count += 1
 
print(count)

Submission status: Wrong Answer

Solution code:
i=0
a,b,c = map(int,input().split())
for x in range(a+1,b):
  if c % x == 0: i+=1
print(i)

Submission status: Wrong Answer

Solution code:
i=0
a,b,c = map(int,input().split())
for x in range(a+1,b):
  if c % x == 0: i+=1
print(str(i))

Submission status: Wrong Answer

Solution code:
i=0
a,b,c = map(int,input().split())
for x in range(a+1,b):
  print('x:{} c%x:{}'.format(x,c%x))
  if c % x == 0: i+=1
print(i)

Submission status: Wrong Answer

Solution code:
i=0
a,b,c = map(int,input().split())
for x in range(a,b):
  if c % x == 0: i+=1
print(i)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
count = 0
for x in range(b - a):
    if c % a == 0:
        count += 1
    a += 1
print(count)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())

yakusuu = []

for i in range(a, b+1):

    if (c % a == 0) and (c % b == 0):
 
        yakusuu.append(i)

print(yakusuu)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())

yakusuu = []

for i in range(a, b+1):

    if (c % a == 0) and (c % b == 0):
 
        yakusuu.append(i)

print(len(yakusuu))

Submission status: Wrong Answer

Solution code:
a, b, c = list(map(int, input().split()))
ans = 0
while a < b:
    if c % a == 0:
        ans += 1
    a += 1
print(ans)

Submission status: Wrong Answer

Solution code:
x = [int(i) for i in input().split()]

cnt = 0
for i in range(x[0], x[1]):
    if x[2] % i == 0:
        cnt += 1

print (cnt)

Submission status: Wrong Answer

Solution code:
d = []
a, b, c = map(int, input().split())
for i in range(1,c):
    if c % i == 0 and a <= i and i <= b:
        d.append(i)
print(len(d))

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
sum = 0
result = 0
while b != a:
    result = c%a
    if result == 0:
        sum += 1
    a += 1
print(sum)

Submission status: Wrong Answer

Solution code:

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
sum = 0
result = 0
while b != a:
    result = c%a
    if result == 0:
        sum += 1
    a += 1
print(sum)

Submission status: Wrong Answer

Solution code:
a, b, c = input().strip().split(' ')
a, b, c = [int(a), int(b), int(c)]

ans = 0

for i in range(a, b):
    if c % i == 0:
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
def list_maker(num):
    num_list = []
    for i in range(1, num + 1):
        num_list.append(i)
    return num_list


a, b, c = map(int, input().split())

num_list = list_maker(c)
divisor_list = []

for i in num_list:
    if c % i == 0:
        if i >= 5 and i <= 14:
            divisor_list.append(i)

print(len(divisor_list))

Submission status: Wrong Answer

Solution code:
k=input().split()
a=int(k[0])
b=int(k[1])
c=int(k[2])
d=0
for i in range(a,b):
    if c % i ==0:
        d+=1;
print(str(d))

Submission status: Wrong Answer

Solution code:
k=input().split()
a=int(k[0])
b=int(k[1])
c=int(k[2])
d=0
for i in range(a,b):
    if c % i ==0:
        d+=1;
print(d)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, raw_input().split())
sum = 0

for i in range(a, b):
	if (c % i == 0):
		sum += 1

print sum

Submission status: Wrong Answer

Solution code:
def main():
    inp = input()
    [x, y, z] = list(map(int, inp.split()))
    count = 0
    for i in range(x, y + 1):
        count += 1 if x % i == 0 else 0
    print(count)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
n=0
while True:
    if c%a == 0:
        n += 1
    a += 1
    if a >= b:
        break
print(n)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
x = 0
for i in range(a,b+1):
 if c % i == 0:
  x += x+1
 print(x)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
x = 0
for i in range(a,b+1):
 if c%i == 0:
  x += x+1
 print(x)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
x = 0
for i in range(a,b+1):
 if c%i == 0:
  x += 1
 print(x)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
x = 0
for i in range(a,b+1):
 if c%i == 0:
  x += x+1
print(x)

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,raw_input().split())
count=0
for i in range(a,b):
 if(c%i==0):count+=1
print count

Submission status: Wrong Answer

Solution code:
import sys

(a, b, c) = [int(i) for i in sys.stdin.readline().split(' ')]

divisorCount = 0
for d in range(a, b):
    if c % d == 0:
        divisorCount += 1

print(divisorCount)

Submission status: Time Limit Exceeded

Solution code:
a,b,c=map(int,input().split())
count=0
while a<=b:
    if c%a==0:
        count+=1

print(count)

Submission status: Time Limit Exceeded

Solution code:
a,b,c=map(int,input().split(" "))
count=0
while(1):
    if c%a==0:
        count+=1
    a+=1
    
    if a==b:
        break
    
print(count)

Submission status: Time Limit Exceeded

Solution code:
cnt=0
a,b,c=map(int,input().split())
while True:
	if b-a<=0:break
	for i in range(a,b):
		if (c%a==0):
			cnt+=1
			a+=1
	print(cnt)

Submission status: Time Limit Exceeded

Solution code:
a, b, c= map(int, input().split())
d=0
while a != b+1:
    if c%a == 0:
        d+=1
        a+=1
print(d)

Submission status: Time Limit Exceeded

Solution code:
a, b, c = map(int, input().split())
n=0
while True:
    if c%a == 0:
        n += 1
    a += 1
    if a == b:
        break
print(n)

Submission status: Accepted

Solution code:
import sys


def main():
    a, b, c = [int(i) for i in sys.stdin.readline().split(' ')]
    divisors = 0
    for i in range(a, b+1):
        if i == 0:
            continue
        elif c % i == 0:
            divisors += 1
    print(divisors)
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

ans = 0
for i in range(a, b+1):
    if c % i == 0:
        ans += 1
    else:
        pass
print(ans)

Submission status: Accepted

Solution code:
a,b,c=map(int, input().split())
i=0
for x in range(a,b+1):
    if c%x==0:
        i+=1
print(i)

Submission status: Accepted

Solution code:
a = input().split()
i = 0
for j in range(int(a[0]),int(a[1])+1):
    if (int(a[2]) % j) == 0:
        i = int(i) + 1

print(i)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
p = 0
for j in range(a,b + 1):
    if c%j==0:
        p = p+1
print(p)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
ans = 0
for i in range(a, b + 1):
    if(c % i == 0):
        ans += 1
print(ans)

Submission status: Accepted

Solution code:
inp = input()
a = inp.split()
a[0] = int(a[0])
a[1] = int(a[1])
a[2] = int(a[2])
c = 0
for i in range(a[0],a[1]+1):
    if a[2] % i == 0:
        c += 1
print(c)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
count=0
while a<=b:
    if c%a==0:
        count+=1
    a+=1
print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
count=0

for i in range(a,b+1):
    if c%i==0:
        count+=1

print(count)

Submission status: Accepted

Solution code:
a, b, c = [int(x) for x in input().split(' ')]
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
# 5
# 14
# ITP1_3_D

count=0
a,b,c=map(int,input().split())
for i in range(a,b+1):
    if c%i==0:
        count=count+1
print(count)

Submission status: Accepted

Solution code:
ans = 0

a, b, c = map(int, input().split())

for i in range(a, b + 1):
    if c % i == 0:
        ans += 1

print(ans)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
ans = 0
for x in range(a, b+1):
    if c % x == 0:
        ans += 1
print(ans)

Submission status: Accepted

Solution code:
count = 0
a, b, c = map(int, input().split())
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
ans = 0
for i in range(a, b + 1):
	if c % i == 0:
		ans += 1
print(ans)

Submission status: Accepted

Solution code:
a_b_c=input().split()
a=int(a_b_c[0])
b=int(a_b_c[1])
c=int(a_b_c[2])
count=0
yakusuu_list=[]
for i in range(1,c+1):
    if c%i==0:
        yakusuu_list.append(i)
for i in yakusuu_list:
    if i in range(a,b+1):
        count+=1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
cnt = 0
for i in range(a, b+1, 1):
    if(c % i == 0):
        cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
cnt = 0

for i in range(a, b+1):
    if c % i == 0:
        cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
count = 0
for i in range(a,b+1):
    if(c % i == 0):
        count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
count = int(0)
for i in range(a, b + 1):
    if c % i == 0:
        count = count + 1
print(count)

Submission status: Accepted

Solution code:
j=0
a,b,c=map(int,input().split())
for i in range(a,b+1):
    if(c%i==0):
        j+=1
print(j)

Submission status: Accepted

Solution code:
counter=0
a,b,c=map(int,input().split())
for i in range(a,b+1):
    if((c%i)==0):
        counter=counter+1
print(f"{counter}")

Submission status: Accepted

Solution code:
j = 0
input = input()
a,b,c = map(int, input.split())
for i in range(a,b + 1):
    if c % i == 0:
        j += 1
print(j)

Submission status: Accepted

Solution code:
x = input().split(" ")
a = 0
for i in range(int(x[0]),int(x[1]) + 1):
    if int(x[2]) % int(i) == 0:
        a += 1
print(a)

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i in input().rstrip().split(" ")]
cnt = 0
for i in range(a, b+1):
    if c % i == 0:
        cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(sum(c % x == 0 for x in range(a, b+1)))

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
d=0
while a!=b+1:
    if c%a==0:d+=1
    a+=1
print(d)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
ans = 0
for i in range(a, b + 1):
	if c % i == 0:
		ans = ans + 1
print(ans)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print(len([x for x in range(a,b+1)if c%x==0]))

Submission status: Accepted

Solution code:
import sys

def solve():
    a,b,c = map(int,input().split())
    ans = 0
    for i in range(a,b+1):
        if c % i == 0:
            ans += 1
    print(ans)
    
solve()

Submission status: Accepted

Solution code:
p = 0
a,b,c = map(int,input().split())
x=a
while True:
    if c%x==0:
        p += 1
    x += 1
    if x > b:
        break

print(p)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

x = 0

for i in range(a, b+1):
    
    if c % i == 0:
        x += 1

print(x)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
x = a
count = 0
for _ in range(b - a + 1):
    if c % x == 0:
        count += 1
    x += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
x = a
count = 0
for i in range(b - a + 1):
    if c % (a + i) == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
count = 0
for i in range(b - a + 1):
    if c % (a + i) == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(sum((c%i==0 for i in range(a,b+1))))

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
print(sum((c%i==0 for i in range(a,b+1))))

Submission status: Accepted

Solution code:
a,b,c=map(int, input().split())
print(sum(c%i==0 for i in range(a,b+1)))

Submission status: Accepted

Solution code:
from sys import stdin

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
print(len([x for x in range(a, b+1) if c % x == 0]))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

ans = 0
for i in range(a, b+1):
    if c % i == 0: ans += 1

print(ans)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split(" "))
count=0
while(a<=b):
    if c%a==0:
        count+=1
    a+=1

print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int,input().split())
count = 0
for i in range(a, b+1):
    if c % i == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
n = 0;
for i in range(a, b+1):
    if c % i == 0: n += 1
print(n)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
z = 0
for i in range(a, b + 1):
  if c % i == 0:
    z += 1

print(z)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
z = 0
for i in range(a, min(b + 1, c + 1)):
    if c % i == 0:
        z += 1

print(z)

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input().split()]
i=0
for num in range(a,b+1,1):
    if c % num == 0:
        i = i+1
    else:
        pass
print(i)

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input().split()]
d = []
for i in range(1,int(c**0.5)+1):
    if i **2 == c:
        d.append(i)
        continue
    if c%i == 0:
        d.extend([i,c//i])
d.sort()
e = [i for i in d if a<=i<=b]
print(len(e))

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
print(len(list(filter(lambda x: c%x==0,range(a,b+1)))))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
cnt = 0
for i in range(a, b+1):
  if c % i == 0:
    cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())

i = a
count = 0
for i in range(a,b+1):
	if c%i == 0: count += 1
	
print(count)

Submission status: Accepted

Solution code:
count = 0
a, b, c = map(int, input().split())
for i in range(a,b+1):
    if c % i == 0:
        count += 1
print(f'{count}')

Submission status: Accepted

Solution code:
count = 0
string = input()
numbers = string.split(' ')
x, y, z = int(numbers[0]), int(numbers[1]), int(numbers[2])
while x <= y:
    if z%x == 0:
        count += 1
    x += 1
print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
    if c % i == 0:
        count +=1
print(count)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
s=0
for i in range(a,b+1):
    if c%i==0:s+=1
print(s)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
n=0
for i in range(a,b+1):
    if c%i==0:n+=1
print(n)

Submission status: Accepted

Solution code:
a,b,c = (int(x) for x in input().split())
count = 0

while a <= b:
  if c % a == 0:
    count += 1
  a += 1

print (str(count))

Submission status: Accepted

Solution code:
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
count = 0
# a =< b
for i in range(a,b+1):
  if c % i == 0:
    count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
   if c % i == 0:
       count += 1
print(count)

Submission status: Accepted

Solution code:
a, b, c = (int(x)for x in input().split())

num = 0

for i in range(a, b+1):
    if (c % i == 0):
        num += 1

print(num)

Submission status: Accepted

Solution code:
data = input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])

if a > b or a < 1 or c > 10000:
	exit()

cnt = 0
for num in range(a,b+1):
	if (c%num) == 0:
		cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

cnt = 0

for num in range(a, b + 1):
    if c % num == 0:
        cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
i = a
j = 0
while(a <= i and i <= b) :
  if(c % i == 0) :
    i += 1
    j += 1
  else :
    i += 1
else :
  print(j)

Submission status: Accepted

Solution code:
a,b,c = input().split()
a = int(a)
b= int(b)
c=int(c)
aaa = 0
for x in range(a,b+1):
    if c%x == 0:
        aaa+=1
print(aaa)

Submission status: Accepted

Solution code:
count=0
a,b,c=(int(x) for x in input().split())
inte=a
while inte<=b:
    if c%inte==0:
        count+=1
    inte+=1
print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
numbers = []
count = 0

while True:
  if a > b:
    break
  numbers.append(a)
  a += 1

for i in range(len(numbers)):
  if c % numbers[i] == 0:
    count += 1

print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
cnt=0
for i in range(a,b+1):
  if c%i==0:
    cnt+=1
print(cnt)

Submission status: Accepted

Solution code:
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])
div_count = 0
for i in range(a, b + 1):
    if c % i == 0:
        div_count += 1
print(div_count)

Submission status: Accepted

Solution code:
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])
div_list = [i for i in range(a, b + 1) if c % i == 0]
print(len(div_list))

Submission status: Accepted

Solution code:
a, b, c = map(int,input().split())
count = 0

for i in range(b-a+1):
    if c % (a+i) == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
i = 0      
for d in range(a,b+1) :
  if c%d == 0 :
    i = i + 1
print(i)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split());ans=0
for i in range(a,b+1):ans+=(c%i==0)
print(ans)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
array = range(a, b + 1)
count = 0
for n in array:
    if c % n == 0:
        count = count + 1
print(count)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
cnt=0
for i in range(a,b+1):
  if c%i==0:
    cnt+=1
print(cnt)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
ret = 0
for i in range(a,b+1):
    if c % i == 0:
        ret += 1
print(ret)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split(" "))
list_divisor=[i for i in range(1,c+1) if c % i == 0]
cnt = [j for j in range(a,b+1) if j in list_divisor]
print(len(cnt))

Submission status: Accepted

Solution code:
#How many divisors?
#a,b,c=[int(x) for x in input().split()]
a,b,c=map(int,input().split())
num=0
for i in range(a,b+1):
    if c % i ==0:
        num=num+1
print(num)

Submission status: Accepted

Solution code:
l = []
a,b,c = map(int,input().split())
for i in range(a,b+1):
    if c % i == 0:
        l.append(i)
ll = len(l)
print(str(ll))

Submission status: Accepted

Solution code:
nums =[int(e) for e in input().split()]
yakusuu = []
yakusuu_count = 0
for j in range(1,nums[2]+1):
    if nums[2]%j== 0:
        yakusuu.append(j)
for k in range(len(yakusuu)):
    if nums[0]<=yakusuu[k] and yakusuu[k]<=nums[1]:
        yakusuu_count += 1
print(yakusuu_count)

Submission status: Accepted

Solution code:
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])

count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])

print(len([i for i in range(a, b + 1) if c % i == 0]))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
counter = 0
    
for i in range(a, b+1):
        if c % i == 0:
            #print(i)
            counter += 1
print(counter)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
i = 0
for v in range(a, b+1):
    if c % v == 0:
        i += 1
print(i)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())

ans = 0
for i in range(a,b+1):
    if c % i == 0:
        ans += 1
        
print(ans)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
cnt = 0
for i in range(a, b+1):
    if c%i == 0:
        cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())

count = 0

for i in range(a, b+1):
    if c%i == 0:
        count+=1

print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
cnt = 0
for d in range(a,b+1):
   if c%d==0: cnt+=1
print(cnt)

Submission status: Accepted

Solution code:
a,b,c = map(int,raw_input().split())
 
x  = 0
for i in range(a,b+1):
    if (c % i == 0): 
       x += 1
print x

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
counter = 0

while a<=b:
    if(c % a == 0):
        counter +=1
    a+=1


print(counter)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
x = 0

for i in range(a,b):
 if c % i == 0:
  x += 1

if c % b == 0:
 x += 1

print(x)

Submission status: Accepted

Solution code:
from sys import stdin

a, b, c = (int(n) for n in stdin.readline().rstrip().split())

cnt = 0

for n in range(a, b + 1):
    if c % n == 0:
        cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
cnt = 0
for i in range(a,b+1):
    if c%i == 0:
        cnt +=1
print(cnt)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

x = 0
for i in range(a,(b+1)):
    if c % i ==0:
        x +=1
print(x)

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1

print(count)

Submission status: Accepted

Solution code:
num = list(map(int,input().split()))
c = 0
for i in range(num[0],num[1]+1):
    if(num[2]%i == 0): c = c+1

print(c)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
y=0

for i in range(b-a+1):
    j=1
    while (i+a)*j <= c:
        if (i+a)*j==c:
            y+=1
            break
        j+=1
print(y)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
ans = 0
for i in range(a,b+1):
    if c % i == 0:
        ans += 1
print(ans)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())

ans = 0
num = a

while True:
    if c%num == 0:
        ans += 1
    num += 1
    if num > b:
        break

print(ans)

Submission status: Accepted

Solution code:
count=0
a,b,c=map(int,input().split())
for i in range(a,b+1):
    if c%i==0:count+=1
print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
n = 0
for i in range(a, b+1):
  if c % i == 0:
    n += 1
print(n)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
print(len([1 for i in range(a, b+1) if c % i == 0]))

Submission status: Accepted

Solution code:
a, b, c = map(int, input(). split())
n = 0
for i in range(a, b+1):
  if c % i == 0:
    n += 1
print(n)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
n=0
for i in range(a,b+1):
  if c%i==0:
    n+=1
print(n)