#33562: 基礎解法


yp11151119@yphs.tp.edu.tw (911-36張鈞晏)

學校 : 臺北市私立延平高級中學
編號 : 197210
來源 : [203.72.178.3]
最後登入時間 :
2024-12-30 14:23:31

#include<bits/stdc++.h>
using namespace std;
int main(){
    int h,m,t;
    cin>>h>>m;
    t=h*60+m;
    (t>=450 and t<1020) ? cout<<"At School" : cout<<"Off School";
    return 0;
}