Codeforces Beta Round #4 (Div. 2 Only), problem: (A) Watermelon solution: http://ideone.com/AYirVp
#include <iostream> #include <cstdio> using namespace std; int main() { int w; scanf("%d", &w); if(w%2==0 && w>3) printf("YES\n"); else printf("NO\n"); return 0; }
No comments:
Post a Comment