2ã¤ã®æé AãB 㨠XãY ãéãªã£ã¦ãããã©ãããå¤å®ãããå ´åã ã®ããã«4ã¤ã®ãã¿ã¼ã³ãããããããåç´ã«ã A <= X && Y <= B || X <= A && Y <= B || A <= X && B <= Y || X <= A && B <= Yã®ããã«å¤å®ãã¦ã¯ãããªãã Xã¯éãç·ã®ä¸ããYã¯èµ¤ãç·ã®ä¸ãåãã¨ããAãB 㨠XãY ã¯éãªãåãããã®æ¡ä»¶ã¯ã X <= B && A <= Yããã§4ã¤ã®ãã¿ã¼ã³ãã«ãã¼ã§ãããORã¯ä¸è¦ãå§ç¹ã¨çµç¹ãããããããæ¸ãã¨ä»¥ä¸ã«ãªãã å§ç¹2 <= çµç¹1 && å§ç¹1 <= çµç¹2ã¢ã«ã´ãªãºã ã«ååããããããªæ°ããããã©ãè¦ã¤ããããªãã£ãã (追è¨) ç©å½¢ã®éãªãå¤å®ã®æ¹ãæ å ±ãè¦ã¤ãã£ãã * Life is beautiful: ãã«ã»ã²ã¤ãã®é¢æ¥è©¦é¨ï¼ç§ã®å ´å * é·æ¹å½¢ã®éãªããå¤å®ããåé¡ - ã¶
{{#tags}}- {{label}}
{{/tags}}