ACM-ICPC 2018 焦作赛区网络预赛 I题(滑稽)

不解释,看代码

#include <bits/stdc++.h>
#define ll long long
using  namespace std;

const int N=10;
const ll mod=1e9+7;

struct AC
{
    AC()
    {
        ll a,b,c;
        while(cin>>a>>b>>c)
        {

            if((a&1)&&(b&1)&&(c&1))
                cout<<"No"<<endl;
            else
                cout<<"Yes"<<endl;
        }
    }
};

int main()
{
    std::ios::sync_with_stdio(false);
    cin.tie(0);

    AC a=AC();
    return 0;
}

猜你喜欢

转载自www.cnblogs.com/zhangzehua/p/9651773.html
今日推荐