题解 | #吃瓜群众#
吃瓜群众
https://ac.nowcoder.com/acm/problem/22014
是个数学题啊
#include <stdio.h>
#include <math.h>
int main()
{
int a;
scanf("%d",&a);
if(a%2==0&&a!=2)
printf("YES, you can divide the watermelon into two even parts.");
else
printf("NO, you can't divide the watermelon into two even parts.");
return 0;
}
MDPI工作强度 552人发布