Advertisement
alex326

Untitled

Jan 28th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. problema 1274
  2.  
  3. #include <iostream>
  4. #include <cmath>
  5. using namespace std;
  6. int main(){
  7. int n;
  8. cin>>n;
  9. if((int)sqrt(n)==(float)sqrt(n))
  10. cout<<"DA";
  11. else
  12. cout<<"NU";
  13.  
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement