题解 | #吃瓜群众#

吃瓜群众

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;
}
全部评论

相关推荐

评论
3
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务