#24799: 簡單程式就AC


31415 (32陳俞安808)

School : 臺北市私立延平高級中學
ID : 128530
IP address : [203.72.178.2]
Last Login :
2022-06-20 13:07:29
a883. D.好忙好忙 -- 102-1延平資研社第二次練習賽 | From: [111.235.252.96] | Post Date : 2021-03-26 13:43

#include <bits/stdc++.h> 

using namespace std;

int main()

{

int a,b,c,d,e,f;

while(cin>>a>>b>>c>>d>>e>>f)

if(c<b||e<d)

cout<<"QQ"<<endl;

else if(b<=c&&d<=e)

cout<<"Happy"<<endl;

 

 

}

 
ZeroJudge Forum