题解 | #吃瓜群众#
吃瓜群众
https://ac.nowcoder.com/acm/problem/22014
#include <iostream>
using namespace std;
int main()
{
int weight;
cin>>weight;
if (weight==2||weight%2!=0)
{
cout<<"NO, you can't divide the watermelon into two even parts.";
}
else
{
cout<<"YES, you can divide the watermelon into two even parts.";
}
return 0;
}