http://acm.xidian.edu.cn/problem.php?id=1173
3的倍数。
#include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; int n; int main() { while(~scanf("%d",&n)) { if(n%3) printf("Yes\n"); else printf("No\n"); } return 0; }
时间: 2024-10-13 05:41:34