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: Accepted

Solution code:
ip=map(int,raw_input().split())
count=0
for i in range(ip[0],ip[1]+1):
    if ip[2] % i ==0:
        count+=1
print count

Submission status: Accepted

Solution code:
import math

inp = raw_input().strip().split()

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

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

print n

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
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:
import sys

a, b, c = map(int, sys.stdin.readline().split())

c_prime = []
for i in range(1, c+1):
    if(c % i == 0):
        c_prime.append(i)

ans = 0
for i in range(a, b+1):
    if(i in c_prime):
        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())
DivisorCount = 0
DivideNum = a
for var in range(a, b+1):
    if c % DivideNum == 0:
        DivisorCount += 1
    DivideNum += 1
print(DivisorCount)

Submission status: Accepted

Solution code:
# 07-Repetitive_Processing-How_Many_Divisors.py

# ?´???°?????°
# ???????????´??° aa???bb???cc ??????????????????aa ?????? bb ?????§?????´??°????????????cc ????´???°?????????????????????????±???????????????°????????????????????????????????????

# Input
# aa???bb???cc ?????????????????????????????§??????????????????????????????
# Output
# ?´???°?????°???????????????????????????????????????

# Constraints
# 1???a,b,c???10000
# a???b
# Sample Input
# 5 14 80
# Sample Output
# 3

aa,bb,cc = map(int,input().split())
count=0

for i in range(bb-aa+1):
	if cc%(aa+i)==0:
		count+=1

print(count)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Input = input().split()
a = int(Input[0])
b = int(Input[1])
c = int(Input[2])
yakusuu = 0
if a >= 1 and b >= 1 and c >= 1:
    if a <= 10000 and b <= 10000 and c <= 10000:
        if a <= b:
            while a <= b:
                if c % a == 0:
                    yakusuu += 1
                a += 1
print(yakusuu)

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,raw_input().split())
count = 0
for i in range(a,b+1):
	if c%i == 0:
		count += 1
print count

Submission status: Accepted

Solution code:
x = list(map(int,input().split(" ")))
num = 0

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

print(num)

Submission status: Accepted

Solution code:
import math
a, b, c = map(int, input().split())
l = []; d = int(math.sqrt(c)); e = 0
for i in range(1, d + 1):
	if i * i == c: l += [i]
	elif c % i == 0: l += [i, c // i]
for x in l:
	if a <= x <= b: e += 1
print(e)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
	a, b, m =[int(i) for i in input().split(" ")]
	res = 0
	for i in range(a, b + 1):
		if m % i == 0:
			res += 1
			
	print(res)
if __name__ == '__main__':
  main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=[int(x) for x in 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, input().split())
divisitor = []
for i in range(a, b+1):
    if a < 0 or b < 0 or c < 0:
        break
    elif a > 10001 or b > 10001 or c > 10001:
        break
    elif a > b:
        break
    elif c % i == 0:
        divisitor.append(int(c/i))

print((len(divisitor)))

Submission status: Accepted

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

ptn = 0

if a==b and a==c:
	print(1)
	ptn = 1

if a==b and a!=c:
	if a < c:
		print(1)
		ptn=2
	else:
		print(0)
		ptn=2

cnt = 0

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

if ptn != 1 and ptn != 2:
	print(cnt)

Submission status: Accepted

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

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

print ret

Submission status: Accepted

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

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:
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,raw_input().split())
n=0
i=a
for i in range(a,b+1):
    if c%i==0:
        n += 1
    i += 1
print n

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:
def number():
	a,b,c = map(int,input().split())
	count = 0
	while a <= b:
		if c % a == 0:
			count+=1
		a+=1
	print (count)



if __name__ == "__main__":
	number()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

count = 0
for x in range(a, b + 1):
    r = c % x
    # print("%d ?? %d ... %d"%(c, x, r))
    if r == 0:
        count += 1

print(str(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())

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

print(ans)

Submission status: Accepted

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

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())
d = 0
for i in range(a,b+1):
    if(c % i == 0):
        d += 1

print(d)

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())
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, raw_input().split())
count = 0

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    a, b, c = [int(i) for i in input().split()]
    ans = [1 if c % i == 0 else 0 for i in range(a, b + 1)]
    print(sum(ans))

Submission status: Accepted

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

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

print(total)

Submission status: Accepted

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

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

print(total)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

print(total)

Submission status: Accepted

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


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

print(total)

Submission status: Accepted

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

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

print(total)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i 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:
a,b,c = [int(i) for i in input().split()]

count = 0

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

print(count)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print i

Submission status: Accepted

Solution code:
x = input()
y = x.split(' ')
a = int(y[0])
b = int(y[1])
c = int(y[2])
count = a
count2 = 0
while count<=b:
    if c % count == 0:
        count2 += 1
    count += 1
else:
    print(count2)

Submission status: Accepted

Solution code:
num = list(map(int, input().split()))

count = 0
for i in range(num[0], num[1]+1):
    if num[2] % i == 0:
        count += 1
print(count)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = [int(x) for x in 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())
ans = 0
for i in range(a, b + 1):
    if c % i == 0:
        ans += 1
print(ans)

Submission status: Accepted

Solution code:
ABC = input().split()
a = int(ABC[0])
b = int(ABC[1])
c = int(ABC[2])
i = 0
while a<=b:
    if c%a==0:
        i = i+1
    a = a+1
print(i)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8

abc = raw_input().split()

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

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, raw_input().split())

n = a
count = 0

while True:
	x = c % n
	if x == 0:
		count += 1
	
	if n == b:
		break
	else:
		n += 1

print count

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

data = sys.stdin.readline().strip().split(' ')
a = int(data[0])
b = int(data[1])
c = int(data[2])

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, raw_input().split())

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

print cnt

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = list(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,b,c=input().split()
n=0
for i in range(int(a),int(b)+1):
	if int(c)%i ==0:
		n+=1

print(n)

Submission status: Accepted

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

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:
#coding: UTF-8

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

if __name__=="__main__":
    a = input().split(" ")
    HMD(int(a[0]),int(a[1]),int(a[2]))

Submission status: Accepted

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

Submission status: Accepted

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

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

print(r)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys

cnt = 0
for line in sys.stdin.readlines():
    a, b, c = map(int, line.strip().split())
    for x in range(a, b+1):
        if c % x == 0:
            cnt += 1

print(cnt)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
numbers = input().split()
numbers = list(map(int, numbers))

answer = 0

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

print(answer)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
m = map(int,raw_input().split())
a = m[0]
b = m[1]
c = m[2]
n = 0

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = input().split()

x_int = [int(i) for i in x]
y = [i for i in range(x_int[0],x_int[1]+1) if x_int[2]%i == 0]
print(len(y))

Submission status: Accepted

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

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

print(len(numbers_list))

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:
line = list(map(int,input().split()))
count = 0
for i in range(line[0],line[1]+1):
    if line[2]%i==0: count+=1
print(count)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
a,b,c=map(int,input().split())

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

print(divisors)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = [int(n) for n in 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()
x = x.split(" ")
x = [int(z) for z in x]
count = 0
for c in range(x[0],x[1]+1):
    if x[2] % c == 0: count += 1
print("%d" % count)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

[a, b, c] = [int(x) for x in sys.stdin.readline().split()]
counter = 0
for value in range(a, b + 1):
    if c % value == 0:
        counter += 1

print(counter)

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_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())
d = 0
for n in range(a, b + 1):
    if c % n == 0:
        d += 1
print(d)

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=i+1
print(i)

Submission status: Accepted

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

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

print(count)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(cnt)

Submission status: Accepted

Solution code:
'''
ITP-1_3-D
 ?´???°?????°
???????????´??° aa???bb???cc ??????????????????aa ?????? bb ?????§?????´??°????????????cc ????´???°?????????????????????????±???????
????????°????????????????????????????????????
???Input
aa ???bb???cc ?????????????????????????????§??????????????????????????????
???Output
?´???°?????°???????????????????????????????????????
'''
# import
import sys

# ?´???°????????????
cnt = 0

# ?????°??????????????????
aa, bb, cc = map(int,input().split())

# input???????????????
for dd in range(aa, bb+1):
    if cc%dd == 0:
        # ?´???°?????????????????????
        cnt += 1

print( cnt )

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    key_in = input()
    data = [int(x) for x in key_in.split(' ')]
    a = data[0]
    b = data[1]
    c = data[2]

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

Submission status: Accepted

Solution code:
data = input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])
divisor = list()
for i in range(a,b+1):
	if c % i == 0:
		divisor.append(i)

print(str(len(divisor)))

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())
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,raw_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(i) for i in input().split()]
A = 0
for i in range(a,b+1):
    if c%i == 0:
        A += 1
print(A)

Submission status: Accepted

Solution code:
# coding: utf-8
# Here your 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 = 0
for i in range(a, b + 1):
    if c % i == 0:
        count = count + 1
print(count)

Submission status: Accepted

Solution code:
list1 = input().split(' ')
list1 = list(map(int, list1))
a = list1[0]
b = list1[1]
c = list1[2]

divisor = []
answer = []

for index in range(0, c):
    index += 1
    if c % index == 0:
        divisor.append(index)

for test_digit in range(a, b + 1):
    if test_digit in divisor:
        answer.append(test_digit)

print(len(answer))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
cnt = 0

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

if (a >= 1 and a <= 10000) and (b >= 1 and b <= 10000) and (c >= 1 and c <= 10000):
    if a <= b:  
        for i in range(a, b+1):
            if c % i == 0:
                cnt += 1
        print("{0}".format(str(cnt)))
    else:
        pass
else:
    pass

Submission status: Accepted

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

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 = count + 1
print(count)

Submission status: Accepted

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

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:
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:
#coding:utf-8

buff = [int(x) for x in input().split()]
a = buff[0]
b = buff[1]
c = buff[2]
print(len([x for x in [x+a for x in range(b - a + 1)] if c%x==0]))

Submission status: Accepted

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

Submission status: Accepted

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

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

print(j)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i 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:
a,b,c = map(int,input().split())
counter = 0
for i in range(a,b+1):
    if c % i == 0:
        counter += 1
print(counter)

Submission status: Accepted

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

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

print(num_divisor)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def count_divisors(num, start, end):
    """
    num: positive int
    start: positive int
    end: positive int(end > start)
    returns numbers of devisors of i between start and end

    >>> count_divisors(80, 5, 14)
    3
    >>> count_divisors(12, 1, 4)
    4
    """
    count = 0
    for i in range(start, end+1):
        if num % i == 0:
            count += 1

    return count

if __name__ == '__main__':
    #import doctest
    #doctest.testmod()

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

    print(count_divisors(c, a, b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3

def string_two_numbers_spliter():
    a, b, c = [int(i) for i in input().split()]
    return a, b, c


def count_nums_of_divisors_of_c_in_a_and_b(a, b, c):
    count = 0
    for i in range(1, c+1):
        if (c % i == 0):
            if i >= a and i <= b:
                count += 1
    return count


def main():
    a, b, c = string_two_numbers_spliter()
    print(count_nums_of_divisors_of_c_in_a_and_b(a, b, c))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!usr/bin/env python3

def string_three_numbers_spliter():
    a, b, c = [int(i) for i in input().split()]
    return a, b, c


def count_nums_of_factors_of_c_in_a_and_b(a, b, c):
    count = 0
    # XXX Refactor the algorithm below as it is exhaustive and inefficient.
    for i in range(1, c+1):
        if (c % i == 0):
            if i >= a and i <= b:
                count += 1
    return count


def main():
    a, b, c = string_three_numbers_spliter()
    print(count_nums_of_factors_of_c_in_a_and_b(a, b, c))


if __name__ == '__main__':
    main()

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 = 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())
l = [n for n in range (a,b+1) if c % n == 0]
print(len(l))

Submission status: Accepted

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

i = 0#????????????
 
while a <= b:
	if c%a == 0:#????????????????????????
		i += 1
	a += 1#?????????????????????

print(i)

Submission status: Accepted

Solution code:
x,y,z=map(int,raw_input().split())
cnt=0
for i in range(x,y+1):
    if z%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 = 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:
inp = list(map(int,input().split()))
a = inp[0]
b = inp[1]
c = inp[2]
n = 0
for i in range(a,b+1):
    if c%i == 0:
        n += 1
print(n)

Submission status: Accepted

Solution code:
line = input()
words = line.split()
count = 0
for i in range(int(words[0]), int(words[1])+1):
    if (int(words[2]) % 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:
s = raw_input().rstrip().split(" ")
ans=0
for i in range(int(s[0]),int(s[1])+1):
	if int(s[2])%i==0:ans+=1
print ans

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    a,b,c = map(int,input().split())
    count = 0
    for i in range(a,b+1):
        if c % i == 0:
            count += 1
    print("%d"%(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 = map(int, input().split())

count = 0

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

print("%d"%count)

Submission status: Accepted

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

while a <= i <= b:
	if c % i == 0:
		j = j+1
	i = i+1
	
print(j)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(cnt)

Submission status: Accepted

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

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

print(count)

Submission status: Accepted

Solution code:
[a, b, c] = list(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(i) for i 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:
inps = input().split()
if len(inps) < 3:
    print("Illegal input.")
else:
    count = 0
    start = int(inps[0])
    end = int(inps[1])
    target = int(inps[2])
    for i in range(start, end+1):
        if target % i == 0:
            count += 1

print(count)

Submission status: Accepted

Solution code:
a, b, c = list(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:
x,y,r=map(int,raw_input().split())
c=0
for i in range(x,y+1):
	if r%i==0:
		c=c+1
print c

Submission status: Accepted

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

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:
s = input().rstrip().split(' ')
a = int(s[0])
b = int(s[1])
c = int(s[2])
cnt = 0

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

print(str(cnt))

Submission status: Accepted

Solution code:
a,b,c = (int(i) for i 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:
a, b, c = map(int, input().split())
ans = 0

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

print(ans)