1 solutions

  • 0
    @ 2023-9-30 14:02:59
    #include <stdio.h>
    
    int main()
    {
    	int n;
    	scanf("%d",&n);
    	if(n%3==0 && n%5==0)
    		printf("YES");
    	else
    		printf("NO");
    	
    	return 0;
    }
    

    Information

    ID
    6741
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    4
    Tags
    (None)
    # Submissions
    123
    Accepted
    60
    Uploaded By