1 solutions

  • 0
    @ 2025-11-5 17:21:18

    C :

    #include<stdio.h>
    int main()
    {
    	int n;
    	while(scanf("%d",&n)==1)
    	{
    		if(n%6!=0)printf("ha ha!!!\n");
    		else printf("do not escape after school!\n");
    	}
    	return 0;
    }
    

    C++ :

    #include <stdio.h>
    int main()
    {
    	int n;
    	while(scanf("%d",&n)!=EOF)
    	{
    		if(n%6==0)
    		printf("do not escape after school!\n");
    		else
    		printf("ha ha!!!\n");
    	}
    	return 0;
    }
    
    • 1

    Information

    ID
    18336
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By