#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int b=sqrt(n); b=b*b; if(b==n) { cout<<"YES"; } else cout<<"NO"; return 0; }
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout<<n<<"="; int i=2; while(n!=1) { bool temp=true; while(temp) { if(n%i==0) { cout<<i; n/=i; if(n!=1) cout<<"*"; } else temp=false; } i++; } }
0 1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289 324 361 400 441 484
Using your lizikid universal account