View Code of Problem 20

#include <iostream>
#include <cstdio>
#include <cmath>

using namespace std;
int main(){
    int n;
    while(scanf("%d",&n)!=EOF){
        if(n%3==0){
            cout<<"No"<<endl;
        }else{
            cout<<"Yes"<<endl;
        }
    }
    return 0;
}

Double click to view unformatted code.


Back to problem 20