问题描述
Codeforces A. Watermelon (opens in a new tab),难度A。
题解
#include <iostream>
using namespace std;
int main()
{
int w;
cin >> w;
if (w % 2 == 0 && w > 2)
printf("YES");
else
cout << "NO";
return 0;
}
Codeforces A. Watermelon (opens in a new tab),难度A。
#include <iostream>
using namespace std;
int main()
{
int w;
cin >> w;
if (w % 2 == 0 && w > 2)
printf("YES");
else
cout << "NO";
return 0;
}