房间现在加了一个新函数 valid_enter 格式如下：
int valid_enter(int t)
t 的数值范围是 1 到 48，分别对应子时到亥时三刻
返回值为 0 表示可以进入
返回值 1 到 48 表示开门时间
