Advertisement
a53

ppdp

a53
Dec 9th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. unsigned int n;
  7. cin>>n;
  8. for(unsigned int d=2;d<n;++d)
  9. if(n%d==0)
  10. {
  11. cout<<1ULL*d*d<<'\n';
  12. break;
  13. }
  14. return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement