#51835: c++正解跟思路 (想學再點)


yp11451032@yphs.tp.edu.tw (711-23吳嘉恩)


#include<iostream>
using namespace std;
 int main(){
int h, m, t;
cin>>h>>m;
t=h*60+m;//換成分鐘
if(t>=450&&t<1020)//比大小
cout<<"At School";
else
cout<<"Off School";
}