Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by Tuser Sheikh ( 11 years ago )
#include<stdio.h>

int main()
{
    long long a;

    while(scanf("%lld",&a) == 1){

        if(a@0==0 && a==0 && aU==0){
            printf("This is leap year.\nThis is huluculu festival year.\nThis is bulukulu festival year.\n\n");
        }
        else if(a%4==0 && a0!=0 && a==0 && aU==0){
            printf("This is leap year.\nThis is huluculu festival year.\nThis is bulukulu festival year.\n\n");
        }
        else if(a@0==0){
            if(a==0){
                printf("This is leap year.\nThis is huluculu festival year.\n\n");
            }
            else if(aU==0){
                printf("This is leap year.\nThis is bulukulu festival year.\n\n");
            }
            else{
                printf("This is leap year.\n\n") ;
            }
        }
        else if(a%4==0 && a0!=0){
            if(a==0){
                printf("This is leap year.\nThis is huluculu festival year.\n\n");
            }
            else if(aU==0){
                printf("This is leap year.\nThis is bulukulu festival year.\n\n");
            }
            else{
                printf("This is leap year.\n\n");
            }
        }
        else if(a==0){
            printf("This is huluculu festival year.\n\n");
        }
        else{
            printf("This is an ordinary year.\n\n");
        }
    }

    return 0;
}

 

Revise this Paste

Children: 78292
Your Name: Code Language: