ACM-ICPC 2018 焦作赛区网络预赛 Save the Room (水题)

题目链接:https://nanti.jisuanke.com/t/31718

#include<bits/stdc++.h>
using namespace std;
#define debug puts("YES");
#define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++)
#define read(x,y) scanf("%d%d",&x,&y)
#define ll long long

#define lrt int l,int r,int rt
#define lson l,mid,rt<<1
#define rson mid+1,r,rt<<1|1
const int  maxn =1e5+5;
const int mod=1e9+7;
int a,b,c;
int main()
{
    while(scanf("%d%d%d",&a,&b,&c)!=EOF)
    {
        ///scanf("%d%d%d",&a,&b,&c);
        int tp=a*b*c;
        if(tp&1) puts("No");
        else puts("Yes");
    }
    return 0;
}

 

展开阅读全文

没有更多推荐了,返回首页