#include #include using namespace std; int a[100000]; int main(){ //55→00 /* for(int i=0; i<=100000; i++){ for(int j=0; j<=27175; j++){ a[j] = 0; } } */ long long base = 1496415600 + 60*43 +20; long long gosa = 60*15; if(time(0) >= base - gosa && time(0) <= base + gosa){ cout << 0 << endl; }else{ cout << 1 << endl; } return 0; }