Untitled

Anonymous
plain_text
11/29/2023 4:24 PM
228 B
15
Indexable
#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;
}
Editor is loading...
Leave a Comment