Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
169 B
0
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	int x,v=0;
	cin >> x;
	for (int i = 1; i <= x; i++) {
		if (x % i == 0) {
			v++;
		}
	}
	cout << v;
}
Leave a Comment