[HDU-5978] [Problem H]概率,找规律,简单博弈,水题(16大连站)

来源:互联网 发布:spss19.0破解软件 编辑:程序博客网 时间:2024/05/29 16:24
////  main.cpp//  160929////  Created by 刘哲 on 17/5/30.//  Copyright © 2016年 my_code. All rights reserved.//#include <bits/stdc++.h>#include <iostream>#include <algorithm>#include <cstdio>#include <cmath>#include <cstring>#include <string>#include <string.h>#include <map>#include <set>#include <queue>#include <deque>#include <list>#include <bitset>#include <stack>#include <stdlib.h>#define lowbit(x) (x&-x)typedef long long ll;using namespace std;int main(){    int k;    while(cin>>k)    {        if(k%2)            puts("0");        else            puts("1");    }    return 0;}