标签:blank problem i++ main iostream scanf tar ble include
#include<iostream> #include<cstdio> #include<cstring> #include<queue> #include<stack> #include<cmath> using namespace std; int T; int main() { scanf("%d",&T); for(int i=1;i<=T;i++){ long long x; cin>>x; int an=0; for(long long j=2;j<=sqrt(x);j++) while(!(x%j)){ x/=j; ++an; } if(x!=1) an++; printf("%d\n",an); } return 0; }
标签:blank problem i++ main iostream scanf tar ble include
原文地址:https://www.cnblogs.com/song-/p/9610214.html