#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
if(a>b){
if(floor((a-b)*((sqrt(5)+1)/2))==b) cout<<"0";
else cout<<"1";
}else{
if(floor((b-a)*((sqrt(5)+1)/2))==a) cout<<"0";
else cout<<"1";
}
return 0;
}
一百分,Unaccepted(后面分数):100;但!!!!!!给我打了个错。