Pages

Friday, July 29, 2011

d066 上學去吧!


#include
using namespace std;
#include
#define ATSCHOOL_MINUTES 450 //60*7+30=450
#define OFFSCHOOL_MINUTES 1020 //60*17+0=1020

int main()
{
int hour,minute,time,atschoolMinute,OFFSCHOOL;
cin>>hour>>minute;
time = hour*60 + minute;
cout<< ( (ATSCHOOL_MINUTES<=time && time
return 0;
}

No comments:

Post a Comment