#include<stdio.h>
int main()
{
int length,width, A, residue;
int C = 0;
printf("请输入长方形的面积A:");
scanf("%d", &A);
if (A >= 2 && A <= 1000)
{
for (length = 1;length<= A;length++)
{
residue = A % length;
width = A / length;
if (width < length)
{
break;
}
if (residue == 0)
{
C++;
}
}
}
printf("%d", C);
return 0;
}