Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- int main(void)
- {
- int a, b, i, J, y3
- scanf("%d" 、8b):
- for(j=0 : j<b 3 j++)
- {
- scanf("%d", &a)s
- for(1=2 ; icstrunc(sqrt(a)) ; i++)
- {
- if(a % i == 9)
- {
- y= 3
- }
- }
- if(y [| a == 1)
- {
- y = 83
- print? (“BUKAN\n" );
- }
- else
- {
- printf ("YA\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement