å¢ç°äº¨ããã«ãããè¨è¨ã®èãæ¹ã¨ããæ¹ãåå¼·ä¼ æ¸ãèµ·ãã2ãã¼ã¸ç®ã§ããæåãããèªã¿é ãå ´åã¯ããã¡ããã御覧ãã ããã
è³æ
æ¸ãèµ·ãããªã³ã¯
- ãã¼ã1ãè¯ãè¨è¨ãç®æãã
- ãã¼ã2ãè¨è¨ã¹ã¿ã¤ã«ã®é¸æã¨ã¯ã©ã¹è¨è¨ã®ã¹ã¿ã¤ã«ãï¼æ¬è¨äºï¼
- ãã¼ã3ããã¼ãã«è¨è¨ã®ã¹ã¿ã¤ã«ã
- ãã¼ã4ãéçºã®ããæ¹ã¨è¨è¨ã¹ãã«ã¨è£è¶³è³æã
- ãã¼ã5ã質çå¿çã
ç®æ¬¡
- è¨è¨ã¹ã¿ã¤ã«ã®é¸æ
- ã¯ã©ã¹è¨è¨ã®ã¹ã¿ã¤ã«
- ã¯ã©ã¹è¨è¨ï¼è¤éããåé¢ãã
è¨è¨ã¹ã¿ã¤ã«ã®é¸æ
ã½ããã¦ã§ã¢ã®å¤æ´ã楽ã§å®å ¨ã«ããããã«ãç§èªèº«ãã©ãããæ¹åæ§ã®è¨è¨ããã£ã¦ããããå°ãèæ¯çãªèª¬æãå«ãã¦å ·ä½çã«ã©ãããæ¹æ³ãç®æãã¦ããã®ããã話ããã¦ããã¾ãã
ã¯ã©ã¹è¨è¨ã®ã¹ã¿ã¤ã«ã¨ããè¦ç¹ããã¼ãã«è¨è¨ã®ã¹ã¿ã¤ã«ã¨ããè¦ç¹ããã¨ã¯éçºã®ããæ¹ã¨ããè¦ç¹ã§ãç§ã®è¨è¨ã®èãæ¹ã¨ããæ¹ã説æãã¾ãã
ã¢ããªã±ã¼ã·ã§ã³éçºã®ä»æ
ç§ã¯ãããªãã®å¹´é½¢ãéãã¦ãã¦ããã®ã§ã大æãããã®æ¥çã§ããããªã½ããã¦ã§ã¢ã®ç¾å ´ã«ããããªç«å ´ã§é¢ãã£ã¦ãã¦ãã¾ãããã¤ã¦ã®æ½®æµã¯æ¥åç³»ã¢ããªã±ã¼ã·ã§ã³ã¯ãã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããæ¹å¼ä¸æã¨ããæãã§ããããã½ããã¦ã§ã¢éçºã¨ã¯ãã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããã ããã¿ãããªä¸çããã£ã¦ãç¹ã«ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ãåºã¦ãã¦ããã¯ããã¼ã¿ãã¼ã¹ã«å¯¾ãããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããæ¹å¼ã§ã¢ããªã±ã¼ã·ã§ã³ãéçºããã®ã主æµã§ãããåºæ¬çãªããæ¹ã§ããã
ãã®ãã¼ã¿ãã¼ã¹ã®ä½¿ãæ¹ã¯ãããã¯å¯¾æ¯ã®åé¡ã§ã¯ãããã§ããã©ãã©ã¡ããã¨ããã¨ä¸æ¸ãæ´æ°åã§ãããç¾å¨ã®ç¶æ ããããªã£ã¦ãããã¨ãããã¨ã常ã«æ´æ°ãç¶ããã¹ã¿ã¤ã«ã§ããåããã¼ãã«ãåãã¬ã³ã¼ãã«å¯¾ãã¦ã©ãã©ãæ´æ°ãããã¦ãã£ã¦ãã¢ããã»ãã¥ã»ãã¼ããªã«ã©ã ããã®ã¬ã³ã¼ãã§ã»ã¬ã¯ãããã°è¦ãããããã«ãããã¨ããã®ãä¸æ¸ãæ´æ°åã®ãã¼ã¿ãã¼ã¹ã¨ããã¹ã¿ã¤ã«ã§ãã
ãã¨ã¯ç®æ¨ãåºå®ãã¦ãã·ã¹ãã ã®æçµå½¢ã確å®ãã¦ããããé¢ä¿è ã§åæãã¦ããããå ·ä½çã«ä½ãããã®å·¥ç¨ã«ã¤ãã¦ã¯ããããã¦ã³çã«å解ããªãããããããã¦ã©ã¼ã¿ã¼ãã©ã¼ã«çãªããæ¹ã§ãã£ã¦ããããæ¹ã§ãã
ä¸æ¹ãä»å¾ã®æ½®æµã¨ããããæ¢ã«ããå§ã¾ã£ã¦ããå¤åãªãã§ãããã©ããå¤æ´ã楽ã«å®å ¨ã«ãããã¨ãéè¦ãããªãããã¡ã¤ã³ã¢ãã«æ¹å¼ã¯ç¸å½æåãªé¸æè¢ã ã¨æã£ã¦ãã¾ãã
ãã¨ã¯è¿½è¨åã®ãã¼ã¿ãã¼ã¹ã§ãããã¤ãã¥ã¼ã¿ãã«ãã¼ã¿ã¢ãã«ã«åºã¥ããã¼ãã«è¨è¨ã¿ãããªãã¨ããã¨ã§ããã¡ãã£ã¨è§£å度ãä¸ãã話ããã¾ãããã©ããä»å¾ã¯ãããããã¨ãæèãã¦ããã¨ãå¤æ´ã¯æ¥½ã§å®å ¨ã«ãªããã ãããªã¨æãã¾ãã
ãã¨ã¯ç®æ¨å¯å¤ã®çµã¿ç«ã¦æèã¨ããã®ã¯ãããããããæªããã¨ãã価å¤è¦³ã®è©±ã§ã¯ãªãã¦ãå¤åããããããå¾ãªãç¶æ³ã ã¨æã£ã¦ãã¾ãã
3å¹´å¾ã5å¹´å¾ã«ããããã·ã¹ãã ãããã°ãããã¨ãããã¨ã«å¯¾ãã¦äººãéãã¦3å¹´å¾ãããã«å®æããã¦ããã®ãã¨5å¹´10å¹´ã¨åããããªãã®ããã¾ãå¤ããã«ä½¿ãç¶ããããªãã¦ããããæ¹ã¯ãä»ã®äºæ¥ç°å¢ã社ä¼ç°å¢ã§ã¯ã¡ãã£ã¨ããå¾ãªãã§ããç®æ¨ã¯å¸¸ã«å¤ããã¾ããèµ°ããªããç®æ¨ãå¤ããªãããã£ã¦ããã«ã¯ã©ãããã½ããã¦ã§ã¢ã®ä½ãæ¹ãããã®ãï¼ããããä½ãæ¹ãããããå¾ãªãããããªããã¨æãã¾ããç®æ¨å¯å¤ã®çµã¿ç«ã¦æèã¨ããèãæ¹ãä»å¾ã®æ½®æµã«ãªããã ãããªã¨æãã¦ãã¾ãã
ã¯ã©ã¹è¨è¨ã®ã¹ã¿ã¤ã«
ã¯ã©ã¹è¨è¨ã®åããé
ã¯ã©ã¹è¨è¨ã®ã¹ã¿ã¤ã«ã¯ãå ã»ã©èª¬æããããã«ããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããæ¹å¼ããã¤ã¦ã®æ½®æµã§ããããããã¼ã¿ã¯ã©ã¹ã¨æ©è½ã¯ã©ã¹ãåãã¦ãä¸æ ¸ã®é¢å¿ãã¨ã¯å ¥åºåå¦çã§ãç»é¢ã¨ããã¼ã¿ãã¼ã¹ã¨ãWeb APIã®å¤é¨ä»æ§ã決ãã¦ããããã¨ã«ããåãããã«ä½ãã¨ãããããªä½ãæ¹ã
ãã¨ã¯å é¨ãè¦ãã¨ãããªããã£ããªåã§ããã°ã©ãã³ã°ããã¨ãããã¨ããã®ããªããã£ããªåã®ããã°ã©ãã³ã°ã¨ããã®ã¯æå³ãããããªãããããã¾ãããããã¡ã¤ã³ã¢ãã«æ¹å¼ã§æ¡ç¨ãã¦ããç¬èªã®åã¨ãããã¨ã«å¯¾ãã対æ¯ã§ããã
é²è¡çããã°ã©ãã³ã°ã¨ããã®ã¯ãããããå ¥åãã¼ã¿ã¨ãå¼æ°ã§æ¸¡ããããã¼ã¿ã¨ãããã®ã¯ä¿¡ç¨ãã¦ã¯ããã¾ãããã¨ãããã¨ã§ããåãåã£ãå´ãå¾¹åºçã«ãã§ãã¯ãã¦ãä¸æ£ãªãã¼ã¿ã¯åãä»ããªãã¨ãããã¨ãå¾¹åºçã«é²å¾¡çãªã³ã¼ããæ¸ããªãããã¨ããèãæ¹ã§ãã
ããããããæ¹ããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããæ¹å¼ããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããã ãããããªãã®ãï¼ã¨ãã話ã¯ã¡ãã£ã¨ããã«ãããããããå¾æ¥ã®ããæ¹ã§ã¯ãããããã®ãå ¨é¨ã»ããã§ãã£ã¦ãã¦ãã¾ãã
ãã¡ã¤ã³ã¢ãã«æ¹å¼ã®å ´åã¯ããã¼ã¿ã¯ã©ã¹ã¨æ©è½ã¯ã©ã¹ãåããã®ã§ã¯ãªãã¦ããã¸ãã¯ã¨ãã¼ã¿ãä¸ã¤ã®ã¯ã©ã¹ã«ã«ãã»ã«åããã¨ãããã¨ãéè¦ãã¾ããããã大åæã§ãã ãã¼ã¿ã¨ããã®ãã¼ã¿ãæä½ãããã¸ãã¯ã¯ä¸ã¤ã®ã¯ã©ã¹ã¨ãã¦ãç¬ç«ããã¢ã¸ã¥ã¼ã«ã¨ãã¦ã«ãã»ã«åããããã§ãããã
ãªãã§ã«ãã»ã«åããããã¨ããã¨ãä¸æ ¸ã®é¢å¿ãã¨ã¯è¨ç®å¤æãã¸ãã¯ã ã¨ãããã¨ã§ãã è¨ç®å¤æãã¸ãã¯ã¯ã½ããã¦ã§ã¢ãä½ãå´ããã®è¨ãæ¹ã§ãæ¥åã§ã½ããã¦ã§ã¢ã使ãå´ã®äººããã¸ãã¹ããã£ã¦ãã人éããè¦ãããããã¯ãã¸ãã¹ã«ã¼ã«ãªãã§ããããæ¥åãé²ããä¸ã§ã®æ±ºãäºããããããã®ãã½ããã¦ã§ã¢ãè¤éã«ããæ ¹æºã§ããã®ã§ãããããä¸æ ¸ã®é¢å¿ãã¨ã§ããè¨ç®å¤æãã¸ãã¯ãããã¼ã¿ã¨ãã¸ãã¯ãã«ãã»ã«åããã¨ããã¢ããã¼ãããã¡ã¤ã³ã¢ãã«æ¹å¼ã§ãã
ã¢ããªã±ã¼ã·ã§ã³ã§æ±ãå¤ããã¨ãã°éé¡ã¨ãæ°éã¨ãæéã¨ãããããã¯é¡§å®¢ã®åºåã¨ããåºè·åºåã¨ãã製åã®ã«ãã´ãªã¨ãããããããã®ãç¬èªã®åã¨ãã¦ã©ãã©ãå®ç¾©ãã¦ãããã¢ããªã±ã¼ã·ã§ã³ã§ä½¿ãå¤ãç¬èªã®åã¨ãã¦å®ç¾©ããã¯ã©ã¹ã¯ãå¿ è¦ãªãã¸ãã¯ã¨ãã¼ã¿ãæã£ã¦ããã«ãã»ã«åãããã¯ã©ã¹ã¨ãã¦ä½ã£ã¦ããã¾ãã
ãã¨ã¯å¥ç´ããã°ã©ãã³ã°ã§ãããé²å¾¡çããã°ã©ãã³ã°ã¨çéã®ã¢ããã¼ãã§ãã äºåæ¡ä»¶ã¯å¼æ°ã®åã§ããå¼æ°ã®åã§ãªãã¸ã§ã¯ãã渡ããã¨ããã¡ã½ãããå®è¡ããäºåã®ç´æã§ããå¼æ°ã渡ãå´ã«æ£ããå¤ã渡ããã¨ãå¼·å¶ããã ããããä½ãç´æãã¦ããããã§ããï¼ãã¨ããäºå¾æ¡ä»¶ã¯ãã¡ã½ãããè¿ãåã¨ãã¦ãããããåã®ãªãã¸ã§ã¯ããè¿ãã¾ããããããNULLã¯è¿ããªããåºæ¬çã«ã¯ä¾å¤ãè¿ãã¾ããããã¨ããç´æãããã
ãããªããã使ãå´ãå¼æ°ã®åã¨ãã¦ç´æãå®ã£ã¦ãããéãã¯ãNULLã渡ãã¦ããªãéãã¯ãããããåã®ãªãã¸ã§ã¯ããå¿ ãå®å ¨ãªç¶æ ã§ã渡ããã¾ãããã¨ãããããå¥ç´ã«åºã¥ãã¦ãä¾é ¼ããå´ã¨ä¾é ¼ãããçµæãè¿ãå´ããç´æäºãå®ãã¨ãã大åæã§ã³ã¼ããæ¸ãã é²å¾¡çãªããã°ã©ãã³ã°ã ã¨ãã³ã¼ãã®ä¸ã«å¼æ°ããããªã®ãããããããªãããããªã®ãããããããªããä½ããããããããªãããããã¯è¿ã£ã¦ããå¤ãã´ããè¿ã£ã¦ãã¦ããããããªãã¿ãããªãã§ãã¯ããããããããé²å¾¡çããã°ãã³ã°çãªçºæ³ã«åºã¥ãåé·ãªæ¤æ»ã³ã¼ããä¸åãªãããã¨ããã®ããã®å¥ç´ããã°ã©ãã³ã°ã®èãæ¹ã§ãã
ãããããã¡ã¤ã³ã¢ãã«æ¹å¼ã®æ¬è³ªçãªå±æ§ãã¨ããã¨ãã¾ãã¡ãã£ã¨éãé¨åããããã§ããã©ããã¡ã¤ã³ã¢ãã«æ¹å¼ã§ãããã¨ããããèªç¶ã«ããããé¸æè¢ã«ãªã£ã¦ããã¨æãã¾ãã
ãããã¯ããããæ¹åãé¸æããã°ããã¡ã¤ã³ã¢ãã«æ¹å¼ã®ã½ããã¦ã§ã¢éçºãããããããªãã¾ãããããããããµãã«èãã¦ãã£ã¦ãã¾ãã
ãªããã¡ã¤ã³ã¢ãã«æ¹å¼ã
ãªããã¡ã¤ã³ã¢ãã«æ¹å¼ã«ããã®ãã確èªãã¦ããã¾ãããããç§èªèº«ã®çµé¨è«ãªãã§ããããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããæ¹å¼ã§ä½ã£ãã³ã¼ãã«åãè¦å´ãã¦ãã¾ãããä½ãããæ¹æ³ããªããã¨æ¨¡ç´¢ãã¦ããæã«ãã¨ã´ã¡ã³ã¹ã®ããã¡ã¤ã³é§åè¨è¨ãã«åºä¼ãã¾ããã
ãã¼ãã³ã»ãã¡ã¦ã©ã¼ãæ¸ããæ¬(PoEAA)ã§ãã¡ã¤ã³ã¢ãã«ã¨ããè¨èã¯ç¥ã£ã¦ãããã§ãããã©ããç¾å®çã«ã©ããããµãã«ããã®ããããã£ã¦ãã¾ããã§ããããããã¨ã´ã¡ã³ã¹ã®æ¬ãèªãããã«ãªã£ã¦ããããåèã«èªåã§ãããããã©ã¤ã¢ã«ããããã«ãªã£ã¦ãããæ¬å½ã«ããå¹æãåºã¦ããããã«ãªãã¾ãããã½ããã¦ã§ã¢ã®å¤æ´ã楽ã«å®å ¨ã«ãããã¨ã§çºçããã¡ãªããããã£ããåããªã¨ãããã¨ãå®æãã¦ããã以éãã¡ã¤ã³ã¢ãã«æ¹å¼ãæ¡ç¨ããããã«ãªãã¾ããã
ãã¡ã¤ã³ã¢ãã«æ¹å¼ã¨ãã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããæ¹å¼ã®éãã¯ãè¨ç®å¤æãã¸ãã¯ã®è¤éããã©ãæ±ããã¨ãããã¨ã«å¤§ããªéããç¾ãã¾ãããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããæ¹å¼ã§å®éã«ãã£ã¦ããæã®ã³ã¼ãã ã¨ããã¡ãã¡ã®ãã¼ã¿å ¥åºåå¦çã«ä¼¼ããããªè¨ç®å¤æãã¸ãã¯ãæçåãã¦ããããä¸æããã¨ã³ããã§ããªãã®è¨ç®å¼ã¨ãswitchæããã³ã£ã¨å ¥ã£ã¦ããã
ãã®ã³ããããè¨ç®å¼ã«å¤æ´ããã£ãæã¨ããswitchã§ã®åå²ã«å¤æ´ããã£ãæã«ãã©ãã«ããããswitchã®åå²ããããããããªãã®ãæãã¦ãããããªãããªã®ã§æ¢ãã¾ãããã§ãããæ¢ãã¦ããã¡ãã¨ç´ããã®ããæ¢ãåãã¦ããããããããªããã§ããã¹ããå¾¹åºçã«ãããããããã¹ãã¼ããåºããããããã¾ããã
ãã¨ã¯ãã¸ãã¹ã«ã¼ã«ãæå·åããã¦ãã¾ã£ã¦ãã¦ãã³ã¼ããæ¸ããæã¯ããã£ã¦ããã¤ããã§ããä»æ§å¤æ´ãå¿ è¦ã«ãªã£ãæã«ã¯æå³ãããããªããªã£ã¦ãã¾ã£ã¦ããã¨ããã±ã¼ã¹ãããã¾ãã
ãã¨ãã°ãåºåã9ã ã£ããå¦çæ°ã¯-1ã«ãããã¨ãããããªã³ã¼ãã®å¤æ´ãå¿ è¦ã«ãªã£ãã¨ãã¦ããããããããªããã§ãããã©ããªæå³åãã§å¦çæ°ããã¤ãã¹ã«ãªã£ã¦ãã¦ãä½ãèµ·ããã®ããªãã¦ãããã¨ãããããªããªã£ã¦ããã
ãããä¸ç®æã ãã ã£ããã¾ã ãããä½ç®æã«ãããããã§ããããããããã¨ã§æ¬å½ã«è¦ããã§ããããã©ã³ã¶ã¯ã·ã§ã³ã¹ã¯ãªããã£ã¦ãã£ã±ããããªã£ã¡ããã ããªãã¨ã
ã©ãã«ã©ããªè¨ç®å¤æãã¸ãã¯ãæ¸ãã¦ããããæ¢ãã«ããä¸ã«ãè¦ã¤ãã¦ãããããããµãã«ç´ãã¦ã大ä¸å¤«ãªã®ããªï¼ãã¨ããé常ã«å¤æ´ããã£ããã§å±éºã§ããç´ãã¦ãèªä¿¡ãæã¦ãªãããç¸å½ãã¹ããããã¤ããã§ãã¾ã å®å¿ã§ããªããæ¡ã®å®ãªãªã¼ã¹ãã¦ããªãæéããã£ã¦ãããããã®å ¥åã±ã¼ã¹ã§ããããªã¨ãã§ããªãã¨ããã®ã³ã¼ãã¾ã§å®è¡ããã¡ãããã ãã¨ãããããªãã°ãåºã¦ããã¨ãããããªãã¨ãããã¾ããããç¨åº¦æ風ã®ã³ã¼ãã¨é·å¹´ä»ãåã£ã¦ãã人ã«ã¯ãããããããªãã ã¨æããã§ããã©ãã
ãã¡ã¤ã³ã¢ãã«æ¹å¼ã®ã¯ã©ã¹è¨è¨ã«ããã¨ãããããåé¡ãæ¬å½ã«æ¹åã§ããã¨ãããã¨ãç§ã¯çµé¨ãã¦ãã¾ããããããä»ã®ç§ã®ã¯ã©ã¹è¨è¨ã®èãæ¹ããããã¯ç¾å ´ã§ä»å®éã«ãã£ã¦ããããæ¹ã«ã¤ãªãã£ã¦ãã¾ãã
ãã¡ã¤ã³ã¢ãã«æ¹å¼
ãã¡ã¤ã³ã¢ãã«æ¹å¼ã¯è¨ç®å¤æãã¸ãã¯ä¸å¿ã§ããå ¥åºåã®é¢å¿äºãä¸æ¦ã¯èã«ç½®ãã¦ãããã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦ã¯å ¥åºåæ©è½ã¯å¿ è¦ã§ããããã¡ã¤ã³ã¢ãã«æ¹å¼ã®æ ¸å¿ã¯è¨ç®å¤æãã¸ãã¯ã ãããå ¥åºåããåãé¢ããè«ççãªè¨ç®å¤æãã¸ãã¯ã ããããã¸ãã¹ã«ã¼ã«ãç¬ç«ããã¦ãããããã¡ãã¨ããã°ã©ã ã¨ãã¦å®æããã¾ããããã¨ãããã®ã§ãã
ãã®ããã«ã¯ãé¢é£ããæ¥åãã¸ãã¯ã¨æ¥åãã¼ã¿ãå¥ã®ã¯ã©ã¹ã«åãããããä¸ã¤ã®ã¯ã©ã¹ã«ã«ãã»ã«åããã»ãã楽ã«è¨è¿°ã§ãã¾ããããä¸ã¤ã®ã¯ã©ã¹ã«ã«ãã»ã«åãããã¨ã§ãåããã¼ã¿ã使ã£ãè¨ç®å¤æãã¸ãã¯ããã¡ãã¡ã«æçåããããéè¤ãããã¨ãé²ããã¨ããå¹æãããã¾ãã
ãã¨ã¯ã¯ã©ã¹åãååã§ãããã¡ã½ããåã§æ¥åã®ç´æäºã表ç¾ãã¦ããã¸ãã¹ã§æ±ããã¼ã¿ã®ç¨®é¡ãã¨ã«ã¯ã©ã¹ãç¨æãã¦ããã¼ã¿ã®ç¨®é¡ãã¨ã«ããéé¡ãåè¨ãããããå²å¼çã§éé¡è¨ç®ããããã¨ãããããªãã¸ãã¹ã«å¿ è¦ãªè¨ç®å¤æãã©ãã©ãæ´ãåºãã¦ãã£ã¦ãããã«ååãä»ãããã¯ã©ã¹åã¨ãã¡ã½ããåã«ãã©ããªæ¥åããããããã©ãããã«ã¼ã«ããããã¨ãããã¨ããããååãä»ãã¦ããã
ãããããã£ããè¨ã£ããããªå¥ç´ããã°ã©ã ã§ããããã¸ãã¹ã§æ±ãåã使ããã¨ã§ãäºåæ¡ä»¶ï¼å¼æ°ã®åï¼ã¨äºå¾æ¡ä»¶ï¼è¿ãåï¼ãæ示ããã ãã¨ãã°ãå¼æ°ãintã«ãã¦æ¸¡ãã¨ã0ãå ¥ãã¦ãããããã§ããããã¡ã½ããã®ä¸ã§é¤ç®ããã¦ããã¡ã½ããã ã¨ã0é¤ç®ã¨ã©ã¼ãåºã¡ãããã§ããããããQuantityã¨ããåã«ãã¦ãQuantityã®æå¹ãªå¤ã¯1ãã100ã¨ããå¶éãåãã¯ã©ã¹ã¨ãã¦å®ç¾©ãããQuantityåã®ãªãã¸ã§ã¯ããçæã§ããã¨ãããã¨ã¯ãæ°éã¯1ãã100ã§ããã¨ãããã¨ãä¿è¨¼ããã¦ãã¾ãããããåãåãã¡ã½ããã¯0é¤ç®ãå¿é ããªãã¦ããã
äºå¾æ¡ä»¶ã¨ãã¦ã¡ã½ãããè¿ãåã§ãåãã§ããåãåãå´ããããããããã¼ããããããªããããããã¯ã¼ãé¤ç®ä¾å¤ããã£ãããã¦å¦çãã¦ããã¿ãããªãã¨ãç¸æã«å¼·è¦ããªããç¸æãé²å¾¡çã«ãããããã¨ã¾ã§ãã§ãã¯ããã³ã¼ããæ¸ãå¿ è¦ããªããªãã¾ãã
ããããå¥ç´ããã°ã©ãã³ã°ãå¾¹åºãããã¨ã«ãã£ã¦ãæ¬å½ã«ããããè¨ç®å¤æã ããæ£ç¢ºã«ããã ãã®è¨è¿°ã«åç´åã§ãããã³ã¼ããé常ã«ããããããæ¸ããããã«ãªãã¾ãã
èãæ¹ã¨ãã¦ã¯ããã¡ã¤ã³ã¢ãã«æ¹å¼ã¨ããã®ã¯ãããããã¨ãªãã ãããªã¨æãã¾ãã
ã¯ã©ã¹è¨è¨ï¼è¤éããåé¢ãã
ãããã£ã¦ãã¸ãã¹ã«ã¼ã«ã¯ã©ã¹ãè¨è¨ãã¦ãã¡ã¤ã³å±¤ã®ã¯ã©ã¹ãä½ã£ã¦ããã¨ãäºæ¥æ´»åã®æ±ºãäºããã¸ãã¹ã«ã¼ã«ã¨ãã¦ãå¤ã®ç¨®é¡ã¨ãåºåãã¨ã«ã«ã¼ã«ãå¤ããè¤éãããifæã ã¨ãswitchæã§ããæ¡ä»¶åå²ã®è¤éããªãããããã¡ã¤ã³å±¤ã®ãã¸ãã¹ã«ã¼ã«ãè¨è¿°ããã¯ã©ã¹ã«éãè¾¼ãã¦å®£è¨çã«è¨è¿°ãããã¨ã«ãã£ã¦ãã»ãã®ããã°ã©ã ãé常ã«åç´ã«ãªããã§ããã
è¨ç®å¤æã®è¤éãªã¨ãããå ¨é¨ãã¡ã¤ã³å±¤ãããããå¥ç´ããã°ã©ãã³ã°ã§çµæãä¿è¨¼ãã¦ãããã¯ã©ã¹ã¨ãã¦æã£ã¦ããã¨ããã¸ãã¹ã¢ã¯ã·ã§ã³ã¯ã©ã¹ãããããã¢ããªã±ã¼ã·ã§ã³å±¤ã§ã¦ã¼ã¹ã±ã¼ã¹ã¨ãå ¥åºåæ©è½ãå®ç¾ããã¯ã©ã¹ã§ã¯ããã¡ã¤ã³ãªãã¸ã§ã¯ããçæãä½ãçµæãå¾ããããªå®è¡å½¹ã ãã«ãªã£ã¦ãå®è¡çµæãè¨é²ããã¨ããéç¥ããã¨ãããããããã¨ã«å¾¹ãããã¨ãã§ãã¾ãããã¡ããã¡ãããswitchæã¨ãã¯åºæ¬çã«ã¯ãã¡ã¤ã³å±¤ã®ã¯ã©ã¹ã®ã»ãã«éãè¾¼ãããã¦ããã®ã§ããã¸ãã¹ã¢ã¯ã·ã§ã³ã¯ã©ã¹ãã¦ã¼ã¹ã±ã¼ã¹ã¨ãæ©è½ã¯ã©ã¹ã¯ãã®ãããåç´ã«æ¸ããããã«ãªãã¾ãã
ãã¡ã¤ã³ã¢ãã«æ¹å¼ã§ã¢ããªã±ã¼ã·ã§ã³å ¨ä½ãã©ãçµã¿ç«ã¦ãã
ãã¡ã¤ã³ã¢ãã«æ¹å¼ã§ã¢ããªã±ã¼ã·ã§ã³å ¨ä½ãçµã¿ç«ã¦ãå ´åãå®éã«ç§ãä½ãé çªã¨ãã¦ã¯ãã¾ããã¸ãã¹ã«ã¼ã«ãäºæ¥æ´»åã®æ±ºãäºãè¨ç®å¤æãã¸ãã¯ãç¹å®ããªãã宣è¨çãªè¨è¿°ããã¦ãããã¨ããããã«ãªã£ã¦ãã¾ãããããããç¨åº¦è¤éã«ãªã£ã¦ãããã§ããã
ãããããç¨åº¦é¨åã¨ãã¦åºæ¥ä¸ãã£ã¦ããã¨ãç¶ãã¦ãå注ç»é²ããããã ãããã¨ãããããªãã¸ãã¹ã¢ã¯ã·ã§ã³ã¯ã©ã¹ãä½ãã¾ããå注ãã¦ããã®ãã©ããã®å¤æã ã¨ããå注æã®éé¡è¨ç®ã ã¨ãã¯ãã¸ãã¹ã«ã¼ã«ã¯ã©ã¹ããã£ã¦ããã¾ããããåç´ãªè¨ç®å¤æãå®è¡ãã¦ãéç¥ãã¦è¨é²ããã°OKã¨ãããããªåç´ãªã³ã¼ãã«ãªãã¾ãã
ãã¡ãããããè«ççãªã¯ã©ã¹ã§ãããªããã§ãã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦ã¯ãã®ã¾ã¾ã§ã¯ä½¿ãã¾ãããã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦å®æãããã«ã¯ããã®ãã¸ãã¹ã«ã¼ã«ã¯ã©ã¹ãåå°ã¨ãããåºæ¬ã³ã³ãã¼ãã³ãã«ãã¦ãããã使ããã¸ãã¹ã¢ã¯ã·ã§ã³ãè«ççãªãã¸ãã¹ã¢ã¯ã·ã§ã³ã¯ã©ã¹ãä½ãããã®ã¾ããã«ã³ã³ããã¼ã©ã¼ã¨ããéåæã¡ãã»ã¼ã¸ã®ãªã¹ãã¼ã¨ããããããã¢ã¯ã·ã§ã³ã®èµ·åå½¹ã®ã¯ã©ã¹ããã£ã¤ãã¦ããã¨ããã®ãã¸ãã¹ã¢ã¯ã·ã§ã³ã¯ã©ã¹ãå¼ã³åºããããã«ãªãã¾ãã
ã¾ãéä¿¡ã¯ã©ã¤ã¢ã³ãã§ãRestã§ã»ãã®ã¨ããã«éç¥ãã¦ããããã¨ããæ°¸ç¶åã¯ã©ã¤ã¢ã³ãã¨ãã¦ãã¼ã¿ãã¼ã¹ã«æ¸ãè¾¼ãã¨ãããããªã¯ã©ã¹ãç¨æãã¦ããããã¨ã§ããã¸ãã¹çã«è¨é²ããããã ã¨ããã¿ã¤ãã³ã°ã¨å 容ãå®éã«ãã¼ã¿ãã¼ã¹ã¸ã®æ¸ãè¾¼ã¿ãæ°¸ç¶åã¨ãããã¨ã§å®è£ ããã¿ãããªãã¨ããããããã®ãæå¾ã«ãã£ã¤ãã¦ããããã¨ã§ã¢ããªã±ã¼ã·ã§ã³ãä¸ã¤åºæ¥ä¸ããã¾ãã
ã¯ã©ã¹ã®è¨è¨ãæ¹åããï¼ãªãã¡ã¯ã¿ãªã³ã°ï¼
ã¯ã©ã¹ã®è¨è¨ãæ¹åãããªãã¡ã¯ã¿ãªã³ã°ã¯ãã¡ã¤ã³ã¢ãã«æ¹å¼ã®è¨è¨ã§ã¯ã¨ã¦ãéè¦ã§ããæåããããããªã¯ã©ã¹ãã§ããããã§ã¯ãªãã®ã§ãããããæå³ã§ã¯ã¨ã£ã¨ã¨ã¯ã©ã¹ãä½ããªãããã©ãã©ããªãã¡ã¯ã¿ãªã³ã°ãè¨è¨æ¹åããã£ã¦ãããã ã¨ãã大åæã§ä½ã£ã¦ããããæ¹ã§ãã
ãã¨ã§ä½ãæ¹ã®è©±ã§åºã¦ãã¾ããã©ãããããä½ãæ¹ãå®éã«ãã£ã¦ãã¾ãã
ãªãã¡ã¯ã¿ãªã³ã°ã¨è¨ã£ã¦ãã ããããã¿ã¼ã³ã決ã¾ã£ã¦ãã¾ããåå²ä¸è¶³ãªãã§ãããä¸ç¤ãããã«ãªã£ã¦ããã¨ã©ãã©ãç¹å®ã®ã¯ã©ã¹ãè¨ããã§ããããã¾ãã大ããªã¯ã©ã¹ã¨ããã®ã¯å¿ ãåé度ãä½ããè¤æ°ã®é¢å¿äºããã¡ãã¾ãã«ãªã£ã¦ãã¾ããããããåå²ä¸è¶³ãè¦ã¤ããªããã¡ã½ãããæ½åºããããã¯ã©ã¹ãæ½åºããããã¯ã©ã¹æ°ãå¢ãã¦ããã®ã§ããã±ã¼ã¸ã追å ãããããµãããã±ã¼ã¸ã追å ãããããããã¯ååä»ãããããã工夫ããªãããåå²ä¸è¶³ãã¾ãæ¹åãã¦ããã¾ãã
åå²ä¸è¶³ã®æ¹åã¯ãããç¨åº¦ä¸èº«ãç解ãã¦ãã人å士ã§ã¯ããããã§ããã©ãä»åº¦ã¯ãããä¸é·æçã«å¤æ´ã楽ã§å®å ¨ãªãã®ã«ãã¦ããããã«ã¯ããã¯ãåå²æå³ã¨ãããã®ãããããããä¼ããªãã§ãã¾ããã
ã ãããªãã¡ã¯ã¿ãªã³ã°ã®ä¸ã¤ã®å¤§ããªæ´»åã¨ãã¦ãåå²ä¸è¶³ãåã«æ¹åããã ãã§ã¯ãªãã¦ãåå²æå³ã説æããããã«ããã±ã¼ã¸åã工夫ããå¿ è¦ãããã¾ããããæãã§åå²ã§ãããæ´çãç´ããã¨æã£ã¦ããæ´çãç´ãããã¨ã«ããæ°ããååã®çºè¦ã¨ãããããã¯å ã ã®ååã®ä¸æ´åã解é¢ã¨ããæ¬æ¥ã®æå³ã¨å®éã®ä»ã®åå²å¾ã®ã¯ã©ã¹ãéã£ã¦ãã¾ã£ãã¨ãããããã£ãã¨ãããä¸å¯§ã«ä¸å¯§ã«è¦ã¦ããã¾ããã¿ã¤ãã¿ãããªãã®ã§ãããååãã¡ãã£ã¨éã£ã¦ããã¨ããã®ãæ¾ç½®ããªãã§ãã¿ã¤ãããã£ãã®ã§ç´ãã¨ãããããªæè¦ã§ãååãå¤ãªã®ã§ç´ããã¨ãããã¨ãå°éã«ç¹°ãè¿ãã¦ããã¾ãã
ãããããµãã«ãã£ã¦ãã£ã¦è½ã¡çãã¦ãã¦ããã¾ã ã¾ã åé度ã®æ¹åãã¤ã³ããåºã¦ãã¾ããããã§ã¯ã©ã¹ãç°ãªãããã±ã¼ã¸ã«ç§»åãããã¨ããã¡ã½ãããªãããã¸ãã¯ã移åãããã¨ããéã«ã¤ã³ã¹ã¿ã³ã¹å¤æ°ãæã£ã¦ããã¯ã©ã¹ãå¤ãããã¨ãã
ãã¨ã¯ããç¨åº¦ä»¥ä¸ã®è¦æ¨¡ã«ãªã£ã¦ããããåã ã®ã¯ã©ã¹ã¨ãã¡ã½ãããã¤ã³ã¹ã¿ã³ã¹å¤æ°ã¨ãã観ç¹ããããããã±ã¼ã¸ããµãããã±ã¼ã¸ãã©ããã£ã¦ç§»åãããã ã¨ããããã±ã¼ã¸æ§é ãçµã¿æããã»ããå ¨ä½ãã¹ãããªæ´çã§ããããããªããã¨ããå¤ãªä¾åé¢ä¿ãæ¶ããããããªãã®ãï¼ã¿ãããªãã¨ããã£ã¦ãã¾ãã
ã¾ã¨ã¾ã£ãæéã§ãããããªãã¡ã¯ã¿ãªã³ã°ãããã¨ããããã¯ãæ¥å¸¸ã®è¨è¨ãæ©è½è¿½å ãä»æ§ã«åºã¥ãä¿®æ£ã®ä¸ã§ãããããã¨ã常ã«ç¹°ãè¿ãã¦ããæãã§ããã
ãã¼ã2ã¯ä»¥ä¸ã§ãããã¼ã3ã®ããã¼ãã«è¨è¨ã®ã¹ã¿ã¤ã«ãã¯ãã¡ãã
asken ã§ã¯ããµã¼ãã¼ãµã¤ãã¨ã³ã¸ãã¢ã大åéãã¦ãã¾ãï¼