超级传送门:
http://acm.hdu.edu.cn/showproblem.php?pid=1021
本题数据范围很大,所以不能暴力,打表找规律即可。
#include<stdio.h>
int main () {
int n;
while (scanf("%d",&n) != EOF) printf("%s\n",(n+2)%4?"no":"yes");
return 0;
}
超级传送门:
http://acm.hdu.edu.cn/showproblem.php?pid=1021
本题数据范围很大,所以不能暴力,打表找规律即可。
#include<stdio.h>
int main () {
int n;
while (scanf("%d",&n) != EOF) printf("%s\n",(n+2)%4?"no":"yes");
return 0;
}