Multiplication Table

题意翻译

## 题目描述 让我们构建一个乘法表**[类似于小学的九九乘法表]**,其中第$i$行第$j$列表示的就是$i*j$的值。其中行与列都从$1$开始。 现在给你一个数$x$,希望你统计出这张$n \times n$乘法表中,有多少个$x$。**[详见说明部分的解释]** ## 输入输出格式 ### 输入格式 共一行,输入两个数字$n$和$x$满足$[1 \leq n \leq 10^5,1 \leq x \leq 10^9]$。其中$n$表示乘法表的大小,$x$的含义如上文所述 ### 输出格式 一个整数,表示$x$在乘法表中出现的次数 ## 说明 对于样例$2$,我们能够画出这样一个$6 \times 6$的乘法表**[如下图]** 其中**加粗字体**,就是我们要统计的$12$,一共有$4$个。 **翻译来自@丁文涛2004**

题目描述

Let's consider a table consisting of $ n $ rows and $ n $ columns. The cell located at the intersection of $ i $ -th row and $ j $ -th column contains number $ i×j $ . The rows and columns are numbered starting from 1. You are given a positive integer $ x $ . Your task is to count the number of cells in a table that contain number $ x $ .

输入输出格式

输入格式


The single line contains numbers $ n $ and $ x $ ( $ 1<=n<=10^{5} $ , $ 1<=x<=10^{9} $ ) — the size of the table and the number that we are looking for in the table.

输出格式


Print a single number: the number of times $ x $ occurs in the table.

输入输出样例

输入样例 #1

10 5

输出样例 #1

2

输入样例 #2

6 12

输出样例 #2

4

输入样例 #3

5 13

输出样例 #3

0

说明

A table for the second sample test is given below. The occurrences of number $ 12 $ are marked bold. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF577A/21f11d3e8bd0c23f518ddb77c0869aa46b75c8dc.png)