标签:
0 1 2 3 4 5
no no yes no no no
#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
int main()
{
long n;
while(scanf("%ld",&n) != EOF)
if (n%8==2 || n%8==6)
printf("yes\n");
else
printf("no\n");
return 0;
}
标签:
原文地址:http://blog.csdn.net/zp___waj/article/details/46041703