#15053: 這題的測資 在7點時只有測7:30


ted900919123 (unknown)

學校 : 國立嘉義高級中學
編號 : 82955
來源 : [114.33.246.166]
最後登入時間 :
2022-09-26 15:58:32

#include <iostream>

using namespace std;

int main()
{
int a,b,c,d,e;
while(cin>>a>>b)
{
if((a==7 && b==30)||(a>7 && a<17))
cout<<"At School"<<endl;
else
cout<<"Off School"<<endl;
}
return 0;
}

注意紅色部分 這樣也ac.....