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;
    }
    
    • 1

    Information

    ID
    6741
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    3
    Tags
    (None)
    # Submissions
    185
    Accepted
    93
    Uploaded By