//http://www.51isoft.com/v3/external/64/6431.pdf
#include <stdio.h>
#include <string>
#include <cstring>
#include <queue>
#include <algorithm>
#include <functional>
#include <vector>
#include <sstream>
#include <iomanip>
#include <math.h>
#include <iostream>
#include <sstream>
#include <time.h>
#include <stack>
#include <set>
#include <map>
#include <time.h>
#include <bitset>
using namespace std;
int main()
{
int n;
while (cin>>n)
{
if (n%3==0)
cout<<0<<endl;
else
cout<<1<<endl;
}
return 0;
}
Red John Game 规律思路题
最新推荐文章于 2021-11-19 01:16:12 发布