Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main(void)
  4. {
  5. int a, b, i, J, y3
  6. scanf("%d" 、8b):
  7. for(j=0 : j<b 3 j++)
  8. {
  9. scanf("%d", &a)s
  10. for(1=2 ; icstrunc(sqrt(a)) ; i++)
  11. {
  12. if(a % i == 9)
  13. {
  14. y= 3
  15. }
  16. }
  17. if(y [| a == 1)
  18. {
  19. y = 83
  20. print? (“BUKAN\n" );
  21. }
  22. else
  23. {
  24. printf ("YA\n");
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement