题目 :Problem - 1021 (hdu.edu.cn)
#include<bits/stdc++.h>
using namespace std;
int main(){int a;while(scanf("%d",&a)!=EOF){if((a+1)%8==3||(a+1)%8==7){cout<<"yes"<<endl;}else{cout<<"no"<<endl;}}return 0;
}
题目 :Problem - 1021 (hdu.edu.cn)
#include<bits/stdc++.h>
using namespace std;
int main(){int a;while(scanf("%d",&a)!=EOF){if((a+1)%8==3||(a+1)%8==7){cout<<"yes"<<endl;}else{cout<<"no"<<endl;}}return 0;
}