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

Submission status: Accepted

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

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:
def aizu007():
    xs = map(int,raw_input().split())
    a,b,c = xs[0],xs[1],xs[2]
    cnt = 0
    for i in range(a,b+1):
        if c%i == 0:
            cnt = cnt + 1
    print cnt
aizu007()

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:
val = map(int,raw_input().split())
count = 0
for x in xrange(val[0], val[1] + 1):
	pass
	if val[2] % x == 0:
		count+=1
print count

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=[int(i) for i in 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()) ;
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, 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:
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, raw_input().split(" "))
result = 0
for v in xrange(a, b+1):
	if (c % v) == 0:
		result += 1
print result

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

Submission status: Accepted

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

print count

Submission status: Accepted

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

Submission status: Accepted

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

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

print i

Submission status: Accepted

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

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

count = 0

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

print(count)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_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(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()]

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

print(count)

Submission status: Accepted

Solution code:
a,b,c=map(int, raw_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:
import sys

def main():
    for line in iter(sys.stdin.readline, ""):
        #print (line)
        a = line.rstrip("\n")
        tmp = a.split(" ")
        a = int(tmp[0])
        b = int(tmp[1])
        n = int(tmp[2])
        cnt = 0
        for i in range(1, n+1):
            if (n % i == 0) and (a <= i and i <= b):
                cnt = cnt + 1
                #print (i)
        print (cnt)    
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 03 11:29:17 2015

@author: hirose
"""

n = map(int, raw_input().split())

a = n[0]
b = n[1]
c = n[2]

x = a
number = 0

while(1):
    if(c % x == 0):
        number += 1
    x += 1
    if(x > b):
        break
print number
exit(0)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    a, b, c = [int(i) for i in 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:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8
#1_3_D 2015.3.24
a,b,c = map(int,input().split())
count = 0
for divisor in range(a , b+1):
    if c % divisor == 0:
        count += 1
print(count)

Submission status: Accepted

Solution code:
[a,b,c]=raw_input().split()
x=int(a)
y=int(b)
z=int(c)
ans=[]
for n in range(x,y+1):
	if z%n==0:
		ans.append(n)
print len(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a, b, c = [ int( val ) for val in sys.stdin.readline().split( ' ' ) ]
cnt = 0
i = a
while i <= b:
	if ( c % i ) == 0:
		cnt += 1
	i += 1
print( "{}".format( cnt ) )

Submission status: Accepted

Solution code:
import sys

a, b, c = [ int( val ) for val in sys.stdin.readline().split( ' ' ) ]
cnt = 0
for divisor in range( a, b+1 ):
    if ( c % divisor ) == 0:
        cnt += 1
print( "{}".format( cnt ) )

Submission status: Accepted

Solution code:
import sys

a, b, c = [ int( val ) for val in sys.stdin.readline().split( " " ) ]
cnt = 0
for i in range( a, b+1 ):
	if 0 == c%i:
		cnt += 1
print( "{}".format( cnt ) )

Submission status: Accepted

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

print counter

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:UTF-8

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

Submission status: Accepted

Solution code:
def main():

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

	a_to_b = list(range(a, b + 1))    #a to b
	result = [x for x in a_to_b if c % x == 0]
	#約数検索
	count = int(len(result))
	print(count)
	


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

a, b, c = map(int, raw_input().rstrip().split())
print sum([1 if not c % i else 0 for i in range(a, b+1)])

Submission status: Accepted

Solution code:

def havediv( target, elm):
    s = target / elm
    if target == s*elm:
        return True
    else:
        return False


if __name__ == "__main__":
        v = map( int, raw_input().split())
        ct = 0
        i = v[0]
        while i <= v[1]:
            if havediv( v[2], i):
                ct += 1
            i += 1
        print ct

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())
count = 0
for i in range(a, (b + 1)):
    if c % i == 0:
        count = 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 = 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:
arr = map(int, raw_input().split())
ans = 0
for x in range(arr[0], arr[1] + 1):
  if arr[2] % x == 0:
    ans += 1

print(ans)

Submission status: Accepted

Solution code:
import warnings

data = map(int, raw_input().split())

a = data[0]
b = data[1] + 1
c = data[2]

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

#print "The number of divisor is:" + str(count)
print count

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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()) ;
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()) ;
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()) ;
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()) ;
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()) ;
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:
from itertools import repeat
print(sum((lambda a, b, c: map(lambda r, n: n % r == 0,
                               range(a, b+1), repeat(c))
           )(*map(int, input().split()))))

Submission status: Accepted

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

Submission status: Accepted

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

answer = 0

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

Submission status: Accepted

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

Submission status: Accepted

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

a = three_num[0]
b = three_num[1]
c = three_num[2]

cnt = 0

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

print(cnt)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int,raw_input().split())
num = 1
c_div = []
while num<=c :
	if c%num==0 :
		c_div.append(num)
	num += 1
Count = 0
while a <= b :
	for i in c_div :
		if a==i :
			Count += 1
	a += 1
print '%d' % Count

Submission status: Accepted

Solution code:
import sys

count = 0

array = raw_input().split(' ')

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

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

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

print count

Submission status: Accepted

Solution code:
l = map(int, raw_input().split())

count = 0

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

print count

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

A = 0 

for i in range(int(a),int(b)+1):
	if int(c) % int(i) ==0:
		A += 1
	elif int(c) % int(i) != 0:
		A += 0
print A

Submission status: Accepted

Solution code:
# encoding:utf-8

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

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

Submission status: Accepted

Solution code:
(a, b, c) = tuple([int(i) for i in 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:
import sys

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

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

print(num)

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
# Here your code !
import sys

def culc_division(x) :
    """
    ??\???x????´???°?????°??????????????§??????
    """
    culc_list = []
    for i in range(1,x+1) :
        if x % i == 0 :
            culc_list.append(i)
            
    return culc_list
    
in_std = list(map(int, sys.stdin.readline().split(" ")))
a = in_std[0]
b = in_std[1]
c = culc_division(in_std[2])

counter = 0
for idx in range(a, b+1):
    if idx in c:
        counter += 1
        
print(counter)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = map(int, raw_input().split(' '))
print len([x for x in xrange(a, b+1) if not(c%x)])

Submission status: Accepted

Solution code:
n=0
(a,b,c) = [int(i) for i in input().split()]
if a > c:
    print(0)

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

Submission status: Accepted

Solution code:
count = 0
a,b,c=map(int, raw_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 , raw_input().split() )
n = 0

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

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 '%s' % str(count)

Submission status: Accepted

Solution code:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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 = j + 1
print j

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 0
a, b, c = map(int, raw_input().split())
while 1:
    if c%a == 0:
        count += 1
    if a == b:
        break
    a += 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:


k=map(int, raw_input().split())

a=k[0]
b=k[1]
c=k[2]
count=0

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

print count

Submission status: Accepted

Solution code:
a = map(int, raw_input().split())
j = 0
for i in xrange(a[0], a[1]+1):
	j=j if a[2] % i else j+1
print j

Submission status: Accepted

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

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:
a,b,c=map(int,raw_input().split())
sum=0

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

Submission status: Accepted

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

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

print sum

Submission status: Accepted

Solution code:
a,b,c = map(int, raw_input().split(' '))
print len([x for x in xrange(a, b+1) if not (c%x)])

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

Submission status: Accepted

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

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 = map(int, input().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, raw_input().split())
j=0
n=0
for i in range(a,b+1):
    s=1
    n=0
    while n < c:
        n=i*s
        s=s+1
        if n==c:
            j=j+1
print j

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = tuple(input().split())
a = int(x[0])
b = int(x[1])
c = int(x[2])
k = 0
for n in range(1, c+1):
	if divmod(c, n)[1] == 0 and a <= divmod(c, n)[0] <= b:
		k += 1
print(k)

Submission status: Accepted

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

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

print ans

Submission status: Accepted

Solution code:
#coding: UTF-8

#a~b??????????´???°????????°

l = map(int, raw_input().split())
a = l[0]
b = l[1]
c = l[2]

ans = 0
x = a

while x <= b:
	y = c % x
	x += 1
	if y == 0:
		ans += 1

print "%d" %ans

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=map(int,raw_input().split())
ct=0
for i in xrange(a,b+1):
    if c%i==0:
        ct+=1
    else :
        continue
print(ct)

Submission status: Accepted

Solution code:
#coding:utf-8

a, b, c = map(int, raw_input(). split())
L = []
for i in xrange(a, b + 1):
    L.append(i)
y = 0
div = 0
for n in L:
    x = c % L[y]
    y += 1
    if x == 0:
        div += 1

print(div)

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
numbers = map(int, raw_input().split())
count = 0
i = numbers[0]
while i <= numbers[1]:
	a = numbers[2] % i
	i += 1
	if a == 0:
		count += 1

print count

Submission status: Accepted

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

Submission status: Accepted

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

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:
# encoding: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:
ls = map(int, raw_input().split())
n = 0
for x in xrange(ls[0], ls[1]+1):
    if ls[2]%x==0:
        n+=1

print n

Submission status: Accepted

Solution code:
x = raw_input()
a, b, c = x.split()
a = int(a)
b = int(b)
c = int(c)

kai = 0
d = b + 1

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

print kai

Submission status: Accepted

Solution code:
class HowManyDivisors:
    def output(self, a, b, c):
        d = 0
        for i in range(a, b + 1, 1):
            if c % i == 0:
                d += 1
        print d

if __name__ == "__main__":
        hmd = HowManyDivisors()
        a, b, c = map(int, raw_input().split())
        hmd.output(a, b, c)

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:
a,b,c = map(int,raw_input().split())
print len(filter(lambda x:c % x == 0,range(a,b+1)))

Submission status: Accepted

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

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:
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:
N = list(map(int, input().split(' ')))

sub = N[1] - N[0]
calc = [N[0]]
for i in range(sub):
	calc.append(N[0] + i + 1)
	
count = 0
for i in range(len(calc)):
	if N[2] % calc[i] == 0:
		count += 1
		
print(count)

Submission status: Accepted

Solution code:
l=raw_input()
k=l.split()
a=int(k[0])
b=int(k[1])
c=int(k[2])
#
ct=0
dev=a
while dev<=b:
        if c%dev==0:
                ct+=1
        dev+=1
print ct