// #define _GLIBCXX_DEBUG #include using namespace std; int A,B; double time_mod(double x){ while(x>0)x-=360; while(x<0)x+=360; if(abs(x)>A>>B;A%=12; double init_A=(double)(360*A)/12 + double(B*360)/(60*12); double init_B=(double)(360*B)/60; double now_A=init_A,now_B=init_B; if(time_mod(now_A-now_B)==0.0){ cout<<0<