#9279: 原來17:00算放學阿==


Lucas0108 (Lucas Kuo)


#include<iostream>
using namespace std;
int main()
{
int h,m;cin>>h;
cin>>m;
if(h==7&&m>29&&m<59)
{cout<<"At School"<<endl;}
else if(h>7&&h<17&&m<59)
{cout<<"At School"<<endl;}
else
{cout<<"Off School"<<endl;}
return 0;
}
#9302: Re:原來17:00算放學阿==


Lucas0108 (Lucas Kuo)


備註:
此程式碼為C++之語言