codeforces水题100道 第二题 Codeforces Beta Round #4 (Div. 2 Only) A. Watermelon (math)

题目链接:http://www.codeforces.com/problemset/problem/4/A
题意:一个整数能否表示成两个正偶数的和。
C++代码:

#include <cstdio>
int main()
{
    int n;
    scanf("%d", &n);
    puts(n > 2 && n % 2 == 0 ? "YES" : "NO");
    return 0;
}
C++

 

posted @ 2016-07-20 15:25  月光诗人  阅读(157)  评论(0)    收藏  举报