HDU-1021 Fibonacci Again

Fibonacci Again add link description

#include<stdio.h>
int main() {
    
    
    int n;
    while (scanf("%d", &n)==1)
        if ((n - 2) % 4 == 0) printf("yes\n");
        else printf("no\n");
    return 0;
}

Find the pattern

Guess you like

Origin blog.csdn.net/wcd278212784/article/details/115333032