考虑全面,平分为偶数,2不行
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
if(a!=2&&a%2==0)
cout<<"YES, you can divide the watermelon into two even parts."<<endl;
else
cout<<"NO, you can't divide the watermelon into two even parts."<<endl;
return 0;
}
a
using namespace std;
int main()
{
int a;
cin>>a;
if(a!=2&&a%2==0)
cout<<"YES, you can divide the watermelon into two even parts."<<endl;
else
cout<<"NO, you can't divide the watermelon into two even parts."<<endl;
return 0;
}
a
全部评论
相关推荐
点赞 评论 收藏
分享
点赞 评论 收藏
分享
CUTMR:换账号试试重启推荐算法,我换账号之后回复率还不错,约莫有个20%左右的消息回复率,前几页、主动招呼的HR也开始符合我期望薪资,此前的大号从招呼、回复、前几页的岗位薪资在涨幅30%+以上 用着用着聊着聊着就变成-20%,而且我开通会员之后直接0面试 点赞 评论 收藏
分享