//
// 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;
}
[HDU-5978] [Problem H]概率,找规律,简单博弈,水题(16大连站)
最新推荐文章于 2018-10-20 10:05:35 发布