View Code of Problem 20

#include<iostream>
#include<vector>
#include<cstring>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std;

int main()
{
	long long int n;
	while (scanf("%lld",&n)!=EOF)
	{
		if (n % 3 == 0)
			cout << "No" << endl;
		else
			cout << "Yes" << endl;
	}
}

Double click to view unformatted code.


Back to problem 20