-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path577A.cpp
More file actions
40 lines (38 loc) · 709 Bytes
/
577A.cpp
File metadata and controls
40 lines (38 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <iostream>
#include <string>
#include <ctime>
#include <cstring>
#include <deque>
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <fstream>
#include <algorithm>
#include <cmath>
#include <queue>
#include <stack>
#include <vector>
#include <map>
#include <set>
#define ll long long
#define fname "a"
#define F first
#define S second
#define mod 1000000
#define INF 1000000000
#define mp make_pair
#define pb push_back
using namespace std;
//ll dp[10000][10000];
int main()
{
ll n,x,count=0;
cin >> n >> x;
for(ll i=1;i<=n;i++)
{
if(x%i==0 && x/i<=n)
count++;
}
cout << count << endl;
return 0;
}