用sqrt(m)只能通过80% #include <iostream> #include <cmath> using namespace std; int main(){ int m,n,i,flag; cin>>n; while(n--){ cin>>m; if(m==1) { cout<<"No"<<endl; } else { if(m==2...