ãã®ããŒãã§ã¯ãã¿ã³ã¯ãžã®æŠåšã®æé©ãªé 眮ãMMORPGã§ã®ãã¬ããŒã¿ãŒã®ç©ºéé 眮ã®åé¡ã解決ããRPGãã£ã©ã¯ã¿ãŒã®4ã€ã®ã¯ã©ã¹ã®æŠãã®ãã©ã³ã¹ãåããŸãã
ãªããžã§ã¯ãé 眮ã¿ã¹ã¯
ãã®ããŒãã®ã¹ãã¬ããã·ãŒãã¯ãããããããŠã³ããŒãã§ããŸãïŒïŒ SuperTank ïŒïŒ ãã¬ããŒã¿ãŒãããŒã1 ïŒïŒ ãã¬ããŒã¿ãŒãããŒã2 ïŒ
SuperTankïŒåé¡ã¯è§£æ±ºããŸããïŒ
ã·ãªãŒãºã®æåã®èšäºã§ã¯ã SuperTankãšåŒã°ããã²ãŒã ã®ã¿ã¹ã¯ã®äŸã«ã€ããŠèª¬æããŸããã 第2éšã§ã¯ããœãªã¥ãŒã·ã§ã³ã¢ããªã³ã°ã®åºæ¬æŠå¿µã«ç²ŸéããExcelã®ããœãªã¥ãŒã·ã§ã³ã®æ€çŽ¢ãããŒã«ã䜿çšããŠç°¡åãªäŸã解ãããšã«ã€ããŠè©±ããŸããã
ããã§ã第2éšã§åŸãç¥èãSuperTankåé¡ã«é©çšãã圌ãã®å©ããåããŠãã®åé¡ãç°¡åãã€è¿ éã«è§£æ±ºã§ããããšã蚌æã§ããŸãã èšæ¶ããªãã¬ãã·ã¥ïŒSuperTankã¯ãã«ã¹ã¿ã ã¿ã³ã¯ã§æŠãããšãã§ããã²ãŒã ã§ãã ã¹ãŒããŒã¿ã³ã¯ã¯æ¬¡ã®ããã«ãªããŸãã
åã¹ãŒããŒã¿ã³ã¯ã«ã¯ã5çš®é¡ã®éãããã€ã§ãæèŒã§ããŸãã
ã¹ãŒããŒã¿ã³ã¯ã¯50ãã³ã®æŠåšãå容ã§ãããã¬ã€ã€ãŒã¯100ã¯ã¬ãžããã䜿ãããšãã§ããŸãã ãŸããã¹ãŒããŒã¿ã³ã¯ã«ã¯3ã€ã®ãã¯ãªãã£ã«ã«ã¹ããããããããMegaRocketãUltraLaserãªã©ã®ç¹å¥ãªéãé 眮ãããŠããŸãã
ãã®äŸã®ã¹ãã¬ããã·ãŒãã¯ã ããããããŠã³ããŒãã§ããŸã ã
ç®æšã¯ã50ãã³ã100ã¯ã¬ãžããã3ã€ã®ã¯ãªãã£ã«ã«ã¹ãããã®å¶éãè¶ ããã«ãã¹ãŒããŒã¿ã³ã¯ã«ãããã¡ãŒãžãæ倧åããæŠåšãæŸãããšã§ãã ãŸãããã®è¡šã«ã¯å¿ èŠãªæ å ±ããã¹ãŠå«ãŸããŠãããç¯å²ãé »åºŠã粟床ãªã©ã®èŠå ã¯é¢é£ããŠããªããã察å¿ããæŠåšã®ãã¡ãŒãžãã©ã¡ãŒã¿ã§ãã§ã«èæ ®ãããŠãããšæ³å®ããŠããŸãã
ãã®ã¹ããŒã ãæé©åããã«ã¯ããŸããã®ããŒã¿ãã¹ãã¬ããã·ãŒãã«å ¥åããŸãã ãã®ããäžã«å¥ã®è¡šãè¿œå ããŸãããã®è¡šã«ã¯ã5çš®é¡ã®æŠåšã®ããããã®éã瀺ã5ã€ã®ãå®éãã»ã«ã®ã»ããããããŸãã
äœæ¥ããã¹ãããããã ãã«ãããã®ã»ã«ã«å€1ãå ¥åãããŸã§ããããã¯æ±ºå®ã»ã«ã«ãªããŸãããœã«ããŒããŒã«ã«ãããã®ã»ã«ã®æ£ããå€ãèŠã€ããããã«äŸé ŒããŸãã ãããã¯é»è²ã§ç€ºããã決å®ã»ã«ã§ããããšãç解ã§ããŸããããã¯ã第2éšã§æŠèª¬ãããã©ãŒãããèŠåã«åŸãããã§ãã ãå®éãã»ã«ã®å³åŽã«ã決å®ã»ã«ã®æ°éå€ã«äžèšã®è¡šã®ãã¡ãŒãžãééãã³ã¹ããã¯ãªãã£ã«ã«ã¹ãããã®å€ãæããèšç®ã»ã«ãè¿œå ããŸãã ãããã£ãŠããã®è¡šã®åè¡ã«ã¯ããã¹ãŠã®ã«ããŽãªã®æŠåšã§äœ¿çšããããã¹ãŠã®éã«å¿ èŠãªãã¡ãŒãžãééãäŸ¡æ Œãããã³ã¯ãªãã£ã«ã«ã¹ããããæ£ãã衚瀺ãããŸãã
ãŸãã以äžã®ã»ã¯ã·ã§ã³ãäœæããŸãããã®ã»ã¯ã·ã§ã³ã§ã¯ãäžã®è¡šã®æ°éãééãã³ã¹ããã¯ãªãã£ã«ã«ã¹ãããã®ãã¹ãŠã®å€ããŸãšããã¿ã¹ã¯æ¡ä»¶ã§æå®ããããŠã§ã€ããã³ã¹ããã¯ãªãã£ã«ã«ã¹ãããã®æ倧å€ïŒãããã50ã100ã3ïŒãšæ¯èŒããŸãã
èšäºã®ç¬¬2éšã®ãã©ãŒãããèŠåã«åŸã£ãŠãäžéšã®éãã»ã«ã¯åé¡ã®æ¡ä»¶ããã®åºæºã§ãã ç°è²ã®ã»ã«ã¯ãæ°éããŒãã«ããã®åèšã«åºã¥ããŠãåèšééãã³ã¹ããããã³ã¯ãªãã£ã«ã«ã¹ããããè¡šãèšç®ã»ã«ã§ãïŒã€ãŸããåWeight x QuantityãCost x QuantityãCritical Slots x Quantityã®åã®åèšå€ïŒã æåŸã«ããªã¬ã³ãžè²ã®ã»ã«ã¯ãäžã®è¡šã®[ãã¡ãŒãžxæ°é]åã®åèšãã¡ãŒãžã«åºã¥ããŠåãåã£ãã¹ãŒããŒã¿ã³ã¯ã®åèšãã¡ãŒãžãè¡šããŸãã
å§ããåã«ãã¹ãã¬ããã·ãŒãããã䜿ããããããŸãã Excelãå©çšããŠãåã»ã«ã«ååãå²ãåœãŠãæåŸã®èšç®ããŒãã«ã®7ã€ã®ã»ã«ã«æ確ãªååãä»ããŸãã ããã¯ãªãã·ã§ã³ã§ãããé·ãç®ã§èŠãã°ãã¹ãã¬ããã·ãŒããããæ確ã«èŠããŸãïŒããšãã°ã$ F $ 21ã®ä»£ããã«ã»ã«ãMaxCriticalSlotsãšåŒã°ããå ŽåïŒã ãããè¡ãã«ã¯ãã»ã«ãéžæããåŒãã£ãŒã«ãã®å·ŠåŽã«ããååå ¥åãã£ãŒã«ãã«ç§»åããŠãæ°ããååãå ¥åããŸãã
æåŸã«ãExcelãœã«ããŒã«ç§»åããŠè§£æ±ºçãèŠã€ããŸãããïŒ[ããŒã¿]ã¿ãã®å³åŽã«ç§»åããŠ[ãœã«ããŒ]ãéžæããŸãã衚瀺ãããªãå Žåã¯ãExcelã®ãªãã·ã§ã³ã«ç§»åããŸãïŒ ã[ã¢ãã€ã³]ã«ããŽãªïŒ[ã¢ããªã³]ïŒãéžæãã[管ç]ããããããŠã³ãªã¹ãã§Excelã¢ãã€ã³ãéžæãããŠããããšã確èªãã[移å]ïŒ[å®è¡...]ïŒãã¯ãªãã¯ããŠããœã«ããŒã¢ãã€ã³ããã§ãã¯ãããŸãã
[ç®çã®èšå®]ãã£ãŒã«ãïŒãç®çé¢æ°ã®æé©åãïŒã§ãã¿ãŒã²ããã®ãªã¬ã³ãžè²ã®ã»ã«ãéžæãã[æ倧]ã©ãžãªãã¿ã³ïŒ[æ倧]ïŒãã¯ãªãã¯ããŸãã [å€æ°ã»ã«ã®å€æŽ]ãã£ãŒã«ãã§ã決å®ã»ã«ïŒ2çªç®ã®ããŒãã«ã®[æ°é]åã®é»è²ã®ã»ã«ïŒãéžæããŸãã 以äžã®[è¿œå ]ãã¿ã³ãã¯ãªãã¯ããŠã次ã®å¶éãè¿œå ããŸãã
- 決å®ã»ã«ã®å€ã¯ã0ãã劥åœãªæ倧å€ã®ç¯å²å ã«ããå¿ èŠããããŸãïŒãããããå¿ èŠãããã¯ããã«å€§ããå¶éå€ã§ããã50ãéžæããŸããïŒã ãŸããå µåšã®å°æ°éšåãä¿æããããšã¯ã§ããªããããå解æ³ã»ã«ãã=æŽæ°ãå¶éã«èšå®ããå¿ èŠããããŸããExcelãœã«ããŒã¯ãç¹ã«æå®ããªãéããåå€æ°ãããã©ã«ãã§å®æ°ãšèŠãªããŸãã
- ãŸããç·ã³ã¹ããç·ééãã¯ãªãã£ã«ã«ã¹ãããã®åèšæ°ã®å€ããåé¡ã®ç¶æ ããã®å€ã«å¶éããå¿ èŠããããŸãã ãã€ã¢ãã°ããã¯ã¹ã®ç»åã¯ãäžéšã®ããŒãã«ã«è¿œå ãã䟿å©ãªååãæã£ãŠããããšã瀺ããŠããŸããããã«ããããã€ã¢ãã°ããã¯ã¹ãèªã¿ããããªããŸãã
次ã«ãSolveãã¿ã³ïŒããœãªã¥ãŒã·ã§ã³ã®æ€çŽ¢ãïŒãã¯ãªãã¯ããå°ãåŸ ã£ãŠãããSolverãæ°éã®å€ãå ¥åããŸããããã«ããã以äžãåŸãããŸãã
- 1æ©é¢é
- ãã±ãã3å
- 2ã¡ã¬ãã±ãã
- 1ã¬ãŒã¶ãŒ
- 1ãŠã«ãã©ã¬ãŒã¶ãŒ
ããã«ãããåèšã§83ãŠãããã®ãã¡ãŒãžãäžããããæ£ç¢ºã«50ãã³ã100ã¯ã¬ãžããã3ã€ã®ã¯ãªãã£ã«ã«ã¹ããããããããŸãã æé©ãªãœãªã¥ãŒã·ã§ã³ã¯ãœã«ããŒã©ã³ã¿ã€ã ã§å€ãããªãããšãããããŸãã ãããã®å€ããªã»ããããŠ2åç®ã®æé©åãå®è¡ãããã[ãªãã·ã§ã³]ã«ç§»åããŠã·ãŒããå€æŽããŠããåãå€ãåŸãããŸãã ãã®ãœãªã¥ãŒã·ã§ã³ãæé©ã§ããããšã100ïŒ ç¢ºä¿¡ããããšã¯ã§ããŸãããããœã«ããŒãããã€ãã®æé©åãã¹ã®åŸã«ãããæ¹åããããšãã§ããªãã£ããšããäºå®ãèæ ®ãããšãããã¯å®éã®æé©ã§ãããå±æçãªæ倧å€ã§ã¯ãªãå¯èœæ§ãéåžžã«é«ãã§ãã
åé¡ã¯è§£æ±ºããŸããïŒ
è¿œå ã®çšé
ã¯ãŒã«ãªããšã¯ãæåã§åŠçãããããã¯ããã«éãåé¡ã解決ããã ãã§ãªããSuperTankã®ã©ã®æŠåšãããŸããŸãªãã©ã¡ãŒã¿ãŒïŒééãã³ã¹ããã¯ãªãã£ã«ã«ã¹ãããïŒã§æã圹ç«ã€ãããã¹ãã§ããããã«èšå®ããããšã§ãã ããã¯ãSuperTankã²ãŒã ã§ãããã®ãã©ã¡ãŒã¿ãŒã®ããŸããŸãªå€æŽã®å¹æãæ¯èŒçç°¡åã«å€æŽã§ããããšãæå³ããŸãããã軜ããéãããŸãã¯ç°ãªãæ°ã®ã¯ãªãã£ã«ã«ã¹ããããæã€æ°ãã代æ¿ã¹ãŒããŒã¿ã³ã¯ã¢ãã«ãè¿œå ããå Žåãããã¯éåžžã«ç°¡åã«å®è¡ã§ããŸãã
ãããã®ãã¹ãŠã®ãã©ã¡ãŒã¿ãŒãå€æŽããããšã«ããããããã®åæŠåšã®çžå¯Ÿçãªæçšæ§ãç解ããã©ããæçšã§ããããååã«æçšã§ã¯ãªãããééãæå·ã«é©ããŠããªãäŸ¡æ Œãããããªã©ãè¿ éã«å€æããããšãã§ããŸãã
ç¹°ãè¿ããŸããããã€ã³ãã¯ããã®ãããªããŒã«ã䜿çšãããšãæåã§è¡ããããã¯ããã«é«éã«èšèšã¹ããŒã¹ãæ€çŽ¢ã§ããããšã§ãã æŠåšãã¹ãŒããŒã¿ã³ã¯èªäœã®ãã©ã¡ãŒã¿ãŒã®å€æŽãæ°ããæŠåšãã¹ãŒããŒã¿ã³ã¯ã®ã¢ãã«ã®è¿œå ãæ°ãããã©ã¡ãŒã¿ãŒã®è¿œå ïŒãµã€ãºã®å¶éã¯ç«æ¹ã¡ãŒãã«ãªã©ïŒãèæ ®ããŠãç§ãã¡ãæãä»ãå¯èœæ§ã®ãã挞é²çãªèšèšæ±ºå®ã«ã€ããŠããã®ãããªå€æŽã®å¹æãè©äŸ¡ãã䟿å©ãªæ©äŒãæäŸããŸãã
æå³ãç解ããã«ã¯ãéããMax Costãã»ã«ã«ç§»åããŠããã®å€ã100ãã99ã«å€æŽããŸãããœã«ããŒãããäžåºŠå®è¡ãããšããŸã£ããç°ãªãæŠåšã¬ã€ã¢ãŠããåŸãããŸãã
- 0æ©é¢é
- ãã±ãã2å
- 3ã¡ã¬ãã±ãã
- 3ã€ã®ã¬ãŒã¶ãŒ
- 0ãŠã«ãã©ã¬ãŒã¶ãŒ
ãã®ãããªã¹ããŒã ã§ã¯ããããã«äœãæå·ææ°ïŒ83ã§ã¯ãªã82ïŒãåŸãããŸããã以åã®ãã®ãšã¯æ ¹æ¬çã«ç°ãªããŸãã
Max Costã®å€ã101ãŸãã¯102ã«èšå®ããŠãå床èšç®ãå®è¡ãããšãæåã®æ§æãŸãã¯ããã«äžèŽããæ§æãåŸãããå¯èœæ§ããããŸãã æ害ã¯83ã®ãŸãŸã§ããå¯ââèœæ§ããããŸãïŒãã®ãããªå Žåãããã€ãã®æé©ãªã¹ããŒã ããããããã¹ããŒã ã¯å€æŽãããå¯èœæ§ããããŸãïŒã ãã ããæ倧ã³ã¹ãã103ã«èšå®ãããšã次ã®çµæãåŸãããŸãã
- 1æ©é¢é
- ãã±ãã4å
- 2ã¡ã¬ãã±ãã
- 0ã¬ãŒã¶ãŒ
- 1ãŠã«ãã©ã¬ãŒã¶ãŒ
åèšãã¡ãŒãžã84ã«å¢å ããŸãã
ããã¯èå³æ·±ãã§ãããã®æŠåšã®é 眮ã¯ãæåã®2ã€ãšã¯å€§ããç°ãªããŸãã
ã芧ã®ãšãããäºæ³å€ã®çµæãåŸãããŸãããã®ã¹ããŒã ã§ã®æé©ãªæŠåšã®éžæã¯ãã¹ãŒããŒã¿ã³ã¯ã®ãã©ã¡ãŒã¿ãŒã«å€§ããäŸåãããããã®ãã©ã¡ãŒã¿ãŒãå°ãå€æŽããŠã倧ããå€åããå¯èœæ§ããããŸãã ããã«ãããã«ããããããçš®é¡ã®æçšãªæ å ±ãåŸãããŸãã5çš®é¡ã®æŠåšã¯ãã¹ãŠã3ã€ã®ã¹ãŒããŒã¿ã³ã¯èšå®ã®ãã¡å°ãªããšã2ã€ã§æçšã§ãããRocketsãšMegaRocketsã¯3ã€ãã¹ãŠã§æããã«æçšã§ãã ããã¯ã5çš®é¡ã®æŠåšãã¹ãŠããã©ã³ã¹ãåããŠããããšãã€ãŸãäºãã«å¯ŸããŠæçšã§ãããåæã«ãããããŠããŒã¯ã§ããããšã瀺ããŠããããã§ãã
ãŸãããæ°ã¥ãã®ããã«ããã®ãããªãœãªã¥ãŒã·ã§ã³ã®ã¢ããªã³ã°ãšæé©åã¯ãè¿é£å°åã§è¿ éã«æ€çŽ¢ãå®è¡ããŠåæé©åãã絶奜ã®æ©äŒãæäŸããŸãã äžéšã®çš®é¡ã®ã¿ã¹ã¯ã§ã¯ãä»ã®æ¹æ³ã§ã¯èŠã€ããããšãå°é£ãŸãã¯äžå¯èœãªãã¬ãŒã€ãŒã®æ¯é çãªæŠç¥ãšãšã¯ã¹ããã€ããæ€åºã§ããŸãã
ãã¬ããŒã-ã¯ãŒã ããŒã«
æåŸã®2ã€ã®äŸïŒæŠç¥ã²ãŒã ãšSuperTankã®çšçã®äŸïŒãèŠãŠããã®ãããªææ³ã¯ãŠãŒã¶ãŒãæ°åãæ±ã£ãŠããå Žåã«ã®ã¿é©çšã§ãããšèãããããããŸããã ããããããªãã¯çµ¶å¯Ÿã«ééã£ãŠããã§ãããïŒ åŸã§èª¬æããããã«ããŠãŒã¶ãŒã«ãšã£ãŠæ°åã®ããã«èŠããªãã ãã§ãªãããŸã£ããèŠããªããã¶ã€ã³èŠçŽ ãæé©åããå©ç¹ãåŸãæ¹æ³ã®äŸã¯ãããããããŸãïŒ
ãŸããææ決å®ã¢ããªã³ã°ã¯ããã¬ã€ã€ãŒãã²ãŒã ã§è¡ãããšãã§ãã決å®ã«ã®ã¿é©çšã§ãããšèãããããããŸããã ãããäºå®ã§ã¯ãããŸãããå Žåã«ãã£ãŠã¯ããã¶ã€ããŒãšããŠç¬èªã®ãœãªã¥ãŒã·ã§ã³ãæé©åããããã«ã¢ããªã³ã°ã«äœ¿çšã§ããŸãã
ã¹ããŒã¹MMORPGã§äœæ¥ããŠãããšããŸãããã ãªãŒããã¶ã€ããŒãé¡ã«äžå®ãæãããšæãã€ããŸãã ããªã¡ã¬ã»ã¯ã¿ãŒã®åèšèšãå®äºããŠããŸãããšåœŒã¯èšããŸãã ããããŠåé¡ããããŸããã äžçã®ãã®ã»ã°ã¡ã³ãã«ããã€ãã®ãã¬ããŒããã¯ãŒã ããŒã«ããè¿œå ããäºå®ã§ãããããããã©ãã«é 眮ãããã«ã€ããŠã¯åæã§ããŸããã
ããã¬ããŒã¿ãŒã¯äœäººã§ããïŒã
ããŸã ããããŸããã ãããã3ã§ããã2ãã4ãŸã§ãããŸãã ãŸã ããããŸãããã 次ã«ã圌ã¯æ¬¡ã®ãããªå°å³ã衚瀺ããŸãã
ãããã¯äœïŒãããªãã¯å°ããŸãã
ãããã¯ãªã¡ã¬éšéã®å°å³ã§ãã ãŸãã¯ãå°ãªããšããã®è±¡éã§ãã¬ã€ã€ãŒãã¢ã¯ã»ã¹ã§ããã¹ã¿ãŒã·ã¹ãã ã ã¯ãŒã ããŒã«ãã©ã®çŽ°èã«ããã¹ãããå€æããå¿ èŠããããŸããã
ãããããã©ããªã«ãŒã«ã§é 眮ãããŠããã®ïŒ ã¹ã¿ãŒã·ã¹ãã ã䜿çšããŠã¯ãŒã ããŒã«ã1ã€ã®è±¡éã«é 眮ããããšã¯å¯èœã§ããïŒâ
ãæç³»ããæãè¿ãã¯ãŒã ããŒã«ãŸã§ã®è·é¢ãæçã«ãªãããã«ãã¯ãŒã ããŒã«ãé 眮ããŠã»ããã ã¯ããã¹ã¿ãŒã·ã¹ãã ãšåã象éã«é 眮ã§ããŸãã ãããã¯ç©ºéã«ã¶ãäžãã£ãŠããå°ããªãã¬ããŒã¿ãŒã§ãããããã©ãã«ã§ãé 眮ã§ããŸãã ããã€ããã¹ããã¯ãŸã 決ãŸã£ãŠããªãã®ã§ã2ã3ã4ã€ã®ãã¯ãŒã ããŒã«ãã®è§£æ±ºçãæããŠãã ãããã
ãã®åé¡ãå®åŒåããæ¹æ³ãšããã解決ããæ¹æ³ã¯ïŒ
ãã¬ããŒã¿ãŒã®æé©åïŒ
溶液ã»ã«ãæºåããããšããå§ããŸãããã 4ã€ã®ãã¬ããŒããAãBãCãDãšããŠç€ºããŸããåãã¬ããŒãã¯ãæ¬è³ªçã«ãªã¡ã¬ã»ã¯ã¿ãŒã®æå³äžã®åº§æšïŒxãyïŒã«ãããªãããšãç¥ã£ãŠããŸãã ãŸããã¢ã¯ãã£ããªãã¬ããŒãã®æ°ã瀺ãäœããã®æ¹æ³ãå¿ èŠã«ãªãããšãããã£ãŠããããããã¬ããŒãã®æ°ãèšå®ã§ããã»ã«ãè¿œå ããŸãã ãã¬ããŒãDã¯4ã€ã®ã¯ãŒã ããŒã«ã䜿çšãããŠããå Žåã«ã®ã¿äœ¿çšãããCã¯3ã€ä»¥äžããå Žåã«ã®ã¿äœ¿çšãããŸãã
以äžã«ãåæç³»ããæãè¿ããã¬ããŒããŸã§ã®è·é¢ãèšç®ããããã®è¡šãæºåããŸãã ãã®è¡šã¯æ¬¡ã®ããã«ãªããŸãã
å·Šã®éã¯ãå°å³äžã®åæç³»ã®åº§æšã瀺ããŠããŸãã åè¡ã¯1ã€ã®æç³»ã§ãã ãªã¡ã¬ã»ã¯ã¿ãŒã®ãããããããããåçŽã«è»¢éããŸãããããã¯ãäž»èŠãªãã¶ã€ããŒããæäŸãããŸããã
å³åŽã§ã¯ã4ã€ã®åãã¬ããŒã¿ãŒãžã®è·é¢ãèšç®ããŸãã ããã¯åãªããã¿ãŽã©ã¹ã®å®çã§ãã è·é¢ã¯ãæç³»ãšãã¬ããŒãéã®æ°Žå¹³ããã³åçŽè·é¢ã®å¹³æ¹æ ¹ãšããŠèšç®ãããŸãã
= SQRTïŒïŒ$ B14-AxïŒ^ 2 +ïŒ$ C14-AyïŒ^ 2ïŒ
ïŒå¿é ããªãã§ãã ãã-ãããã·ãªãŒãºã§åºäŒãæãé£ããæ°åŠã§ããããšãçŽæããŸãïŒïŒ
äžèšã®è¡šã®éãã»ã«ããåæç³»ã®Xããã³Y座æšãååŸããäžéšã®é»è²ã®ãœãªã¥ãŒã·ã§ã³ã»ã«ããåãã¬ããŒãïŒäžèšã®SQRTïŒïŒé¢æ°ã®ãã¬ããŒãAã®Axããã³Ayãšããååã®ã»ã«ïŒã®Xããã³Y座æšãååŸããŸãã
æåŸã«ãDist to Closeståã§ããã4ã€ã®å€ã®æå°å€ãååŸããŸããã€ãŸããMINïŒïŒé¢æ°ã䜿çšããŠãå·ŠåŽã®4ã€ã®å€ã®æå°å€ã決å®ããŸãã 次ã«ã以äžã®åå šäœããŸãšããŸãã åèšãã¿ãŒã²ããã»ã«ã§ãã
äžã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ããã¹ãŠã®ã»ã«ãDããDã«èšå®ãããŠããããšã«æ°ä»ãããããããŸãããçç±ã¯ããœãªã¥ãŒã·ã§ã³ã¢ãã«ã®äžéšã»ã¯ã·ã§ã³ã§ãNumber of TeleportersïŒãã»ã«ã䜿çšããŠããããã§ãã ãã¬ããŒã¿ãŒã®æ°ã2ã®å ŽåãDist to CãšDist to Dã®äž¡æ¹ã§å€99ã䜿çšãã3ã®å Žåãå€99ã¯Dist to Dã®åã§ã®ã¿äœ¿çšãããŸãã 2ã€ãŸãã¯3ã€ã®ãã¬ããŒãã®å Žåãæãè¿ããã¬ããŒããŸã§ã®è·é¢ãèšç®ãããšãã
次ã«ããœã«ããŒãèµ·åããŸãã
ã¿ãŒã²ããã»ã«ã¯ã[Dist to Closest]åã®äžéšã«ããåèšã§ãã ä»ã®äŸãšã¯ç°ãªããããã§ã¯ãToïŒMinãã©ãžãªãã¿ã³ã䜿çšããããšã«æ³šæããŠãã ãããããã¯ãæ倧ã§ã¯ãªãããã¹ãŠã®ã¹ã¿ãŒã·ã¹ãã ãšãã¬ããŒã¿ãŒã®éã«æå°è·é¢ãå¿ èŠã ããã§ãã
以äžã«ããã¯ãŒã ããŒã«ãAãBãCãDã®Xããã³Y座æšã®è§£ã®8ã€ã®é»è²ãã»ã«ããå¯å€ã»ã«ã®å€æŽããšããŠç€ºããŸããå¶éã»ã¯ã·ã§ã³ã§ã¯ãå座æšã0ãã0ã®ç¯å²ã®æŽæ°å€ãšããŠå¶éããŸãã 12.ãªãŒãèšèšè ã¯åãã¬ããŒããã©ã®ã»ã«ã«å ¥ãããç¥ãããã ãã§ããããããããã®ãœãªã¥ãŒã·ã§ã³ã»ã«ã«ã¯æŽæ°å¶çŽã䜿çšããŸãããèšèšè ããããªã¢ã«åº§æšãå¿ èŠãªå Žåã¯ãã®å¶éãç°¡åã«ã¹ãããã§ããŸãã
ããã¬ããŒã¿ãŒã®æ°ãã®å€ã2ã3ãããã³4ã«èšå®ããåå€ã«å¯ŸããŠé 次ãœã«ããŒãå®è¡ãããšã次ã®æ§æãåŸãããŸãã
ãã®æ å ±ãããã°ãäžæµã®ãã¶ã€ããŒã«è¡ãã2ãã4ã®ç¯å²ã®ä»»æã®æ°ã®ãã¬ããŒã¿ãŒã®å Žæã«æé©ãªå ŽæãèŠããããšãã§ããŸããããã¯ã2ã3ã4ãã¬ããŒã¿ãŒã®ãã¯ãŒã ããŒã«ãã®æé©ãªå Žæããããäžã§èŠããæ¹æ³ã§ãïŒç·è²ã§è¡šç€ºïŒã
ãã®äŸã®ã¹ãã¬ããã·ãŒãã¯ãããããããŠã³ããŒãã§ããŸã ã
ç§ã¯å¿è ã«ã€ããŠè©±ããŸãããïŒ
ãçŽ æŽãããããšãªãŒããã¶ã€ããŒã¯èšããŸããã圌ã®é¡ã«ã¯èŠãã¿ãèŠããŸãã ãããŒããããããããã®ã·ã¹ãã ã®ããã€ãã¯å®å®å¿è ã«ãã£ãŠå ããããŠããããšãäŒããã®ãå¿ããŠããŸããã ãŸããå¿è ã®ããã·ã¹ãã ããã¯ãŒã ããŒã«ãããé ãããŠããã¬ã€ã€ãŒãé床ã®è åšãæããªãããã«ããŸããã
ããããã ããã«ããåé¡ãå®å šã«å€ãããŸããã
ãããã§ãã ããã«ãããã€ãã®æã®ã·ã¹ãã ã«ã¯ã1ã€ã§ã¯ãªã2ã€ã®ã³ãããŒããããŸããã€ãŸãããããã¯ãã¬ããŒã¿ãŒã«è¿ãããšã®2åéèŠã§ãã ãŸãã¯ãã¹ããŒã¹ãã³ãžã£ã®2ã€ã®ã³ãããŒãããã·ã¹ãã ã§ããå Žåãããã«2åéèŠã§ãã ãããã¯æ¬¡ã®ããã«ãªããŸãã "
圌ã¯ç¶ããŸãããåè² ã®æ°ã¯å®å®å¿è ã®ã³ãããŒã§ãã çªå·2ã®ã·ã¹ãã ã«ã¯2ã€ã®äººéã®ã³ãããŒãå«ãŸããçªå·-2ã®ã·ã¹ãã ã«ã¯2ã€ã®å¿è ã®ã³ãããŒãå«ãŸããŠããŸãã ãã®å Žåããã¬ããŒã¿ãŒãé 眮ããå ŽæãæããŠããããŸããïŒã
ãæããŠãã ãããå°ãªããšãã2ã3ã4ã®ãã¬ããŒãã®æ°ã¯ãã§ã«æ±ºãŸã£ãŠããŸããïŒããšãç®èã蟌ããŠå°ããŸãã
ãç§ã¯ãŸã æããªããã
å¿è ãèæ ®ããŠè§£æ±ºããŸã
ãã®åé¡ã解決ããã«ã¯ãããŒãã«ã®éã¿ã瀺ãæ°ããåãããŒãã«ã«è¿œå ããå¿ èŠããããŸãã ãããä¹æ°ãšåŒã³ãŸãã ãã®å€ã«ãDist to Closestãåã®å€ãæããã ãã§ãã
ãããè¡ããšãDist to Closestã¯ãã®æå³ããããã«å€æŽããŸãã å¿è æç³»ã§ã¯å€ã-1åå€åãããããããã¯æãè¿ãæç³»ãžã®è·é¢ã§ã¯ãããŸããã ããã¯äžè¬åãããããã€ã³ããïŒã¹ã³ã¢ïŒã®ããã«èŠããããããããããããšåŒã³ãŸãããã
ãããã£ãŠããã€ã³ãã¯çŽ¯ç©å€ã瀺ãããã«ãªããŸããã ãããæå°åããããšã«ãããSolverã¯äººã®ã³ãããŒãããã·ã¹ãã ã«ã§ããã ãè¿ããªããšåæã«ãå¿è ã·ã¹ãã ããå¯èœãªéãé¢ããããã«åªåããŸãã
ããã§ã次ã®çµæãåŸãããŸãã
ã芧ã®ãšãããããã«ãããã¬ããŒã¿ãŒã®æ§æãåŸãããŸããããããã®å Žåãå¿è ã®ããªãåçŽãªããŒãžã§ã³ãšã¯å€§ããç°ãªããŸãã
ãã¬ããŒãäŸã®ãã®æ¡åŒµããŒãžã§ã³ã®ã¹ãã¬ããã·ãŒãã¯ãããããããŠã³ããŒãã§ããŸã ã
ã芧ã®ãšãããåœç€Ÿã®ãœãªã¥ãŒã·ã§ã³ã¢ãã«ã¯ãã®éèŠãªã¿ã¹ã¯ãéåžžã«è¿ éã«è§£æ±ºããããšãã§ããå€åããèŠä»¶ã«é©å¿ãããããšãã§ããŸããã
ãã®ã¿ã¹ã¯ã¯ãããªããžã§ã¯ãå²ãåœãŠã¿ã¹ã¯ããšåŒã°ããã¿ã¹ã¯ã®ã¯ã©ã¹ã«å±ããéçšç®¡çã®åéã§éåžžã«ããç 究ãããŠããŸãã ããããã芧ã®ãšããããããã¯ã²ãŒã ãã¶ã€ã³ãã¬ãã«ãã¶ã€ã³ã§äœ¿çšãããå¯èœæ§ããããExcelã§ã®ãœãªã¥ãŒã·ã§ã³ã¯åçŽã§ã¯ãªãã«ããŠãç°¡åã§ãã
ãã¬ã€ã€ãŒå¯Ÿãã¬ã€ã€ãŒã®æŠãã®ã¯ã©ã¹ãã©ã³ã¹
ãã®éšåã®ã¹ãã¬ããã·ãŒãã¯ãããããããŠã³ããŒãã§ããŸãïŒ ãªã³ã¯
ã¹ãã¬ããã·ãŒããšã·ãã¥ã¬ãŒã·ã§ã³
ãã®ã·ãªãŒãºã®èšäºã®åã®3ã€ã®ããŒãã§ã¯ããœãªã¥ãŒã·ã§ã³ã®ã¢ããªã³ã°ãšæé©åã®æŠå¿µãããã³Excelããã±ãŒãžã®ãœã«ããŒããŒã«ã«ã€ããŠçŽ¹ä»ããŸããã 4XæŠç¥ã§éœåžã®æé©ãªçšçãèšç®ããå®å®ã²ãŒã ã§ã®ãã¬ããŒã¿ãŒã®æé©ãªé 眮ã決å®ãã第1éšã§èª¬æããã¹ãŒããŒã¿ã³ã¯ã¿ã¹ã¯ã®æé©ãªæŠåšã¬ã€ã¢ãŠããéžæããããã«ãããã䜿çšããæ¹æ³ã瀺ããŸããã
èªç¶ãªåé¡ãçºçããŸããã²ãŒã ã®ãã©ã³ã¹ã¯ã©ãã§ããïŒ å€ãã®ç°ãªãçš®é¡ã®ã²ãŒã ãç¹ã«æŠç¥ãRPGãMMORPGã«èŠãããããããçš®é¡ã®è€éãªãã©ã³ã¹èª¿æŽã¿ã¹ã¯ã«åæ§ã®ææ³ãé©çšããããšã¯å¯èœã§ããïŒ
ãã¡ããããã®è³ªåã«å¯Ÿããçãã¯ã€ãšã¹ã§ãããå€ãã®äºçŽããããŸãã ç¹ã«ãã¹ãã¬ããã·ãŒãã«ã¯å€ãã®å¶éããããŸããããã¯ãã»ãšãã©ã®å Žåãã²ãŒã ãæ£ç¢ºã«èª¬æããŠããªãããã§ãã ãããã£ãŠãæé©åææ³ã䜿çšããŠä¿¡é Œæ§ã®é«ããã©ã³ã·ã³ã°ãå®è¡ããããšã¯å°é£ã§ãã 倧éšåã®ã²ãŒã ã®å®éã®ãã©ã³ã¹èª¿æŽã¿ã¹ã¯ã¯ãã¹ãã¬ããã·ãŒãã§ã¢ãã«åã§ãããã®ãã¯ããã«è¶ ããŠããŸãã ã²ãŒã èªäœã®ã·ãã¥ã¬ãŒã·ã§ã³ã¯éåžžéåžžã«è€éã§ãå€ãã®ãå¯åéšåããããããã°ãã°ãªã¢ã«ã¿ã€ã ã§å®è¡ãããŸããé¢æ£ã·ãã¥ã¬ãŒã·ã§ã³ãè©Šã¿ããšãããããçš®é¡ã®åé¡ã«ééããå¯èœæ§ããããŸãã
ãããã£ãŠã WildStarãªã©ã®MMORPGãPlanetary Annihilationãªã©ã®æŠç¥ã²ãŒã ã§ã¯ã©ã¹ã®ãã©ã³ã¹ãåãããã«åæ§ã®ææ³ã䜿çšããå Žåãå°ãªããšãããçšåºŠã®ç²ŸåºŠãšæçšæ§ã確ä¿ããããã«ãã²ãŒã èªäœã®ã·ãã¥ã¬ãŒã·ã§ã³ã«ããããçµ±åããå¿ èŠããããŸãã
ããã«ãçå®ã¯ããã©ã³ã¹ã®äžéšã®åŽé¢ãèªååã§ããªãããšã§ãã èšäºã®æåã®éšåã§èª¬æããããã«ãã²ãŒã ã®æèŠãèªåçã«èª¿æŽããããšã¯ã§ããŸããã
ãããã£ãŠãç§ãã¡ãæåŸ ã§ããæåã®æ¹æ³ã¯ããã®ã¿ã€ãã®ã¿ã¹ã¯ãžã®äžè¬çãªã¢ãããŒãã瀺ãç°¡åãªäŸã®ãã¢ã³ã¹ãã¬ãŒã·ã§ã³ã§ãïŒExcelã®ç°¡åãªäŸã䜿çšããŠããã®ã¿ã€ãã®ãã©ã³ã¹åé¡ã®å®åŒåã«ã¢ãããŒãããããããæé©åããæ¹æ³ãåŠã³ãŸãã å°ãªããšãåçŽãªæŠéã®äŸã§ã¯ããœã«ããŒã¯ããã€ãã®RPGã¯ã©ã¹ãçžäºã«é©åã«ãã©ã³ã¹ãããããšãã§ããããšã瀺ããŸãã 次ã«ããã®åºæ¬æ§é ãåºã«ããã®ãããªæé©ååé¡ãããè€éãªã¹ããŒã ã§è§£æ±ºããã²ãŒã ã®ã·ãã¥ã¬ãŒã·ã§ã³ã«ããæ·±ãçµ±åããŸãã
ç§ãã¡ãšäžç·ã«ããªãããã¹ãŠã®ããªãã¯ãåŠã³ããã®ç°¡åãªäŸãç§ãã¡ã«äœãäžããããšãã§ããããèŠãŠã»ããã
äžåè¡¡
ããã©ã³ã¹ããšããèšèã®äžè¬ã«åãå ¥ããããŠããåäžã®å®çŸ©ã¯ãããŸããã ããã«ã¯å€ãã®æå³ããããéåžžã¯åé¡ã®ã²ãŒã ã®ã³ã³ããã¹ãã«äŸåããŸãã ããŸããŸãªæ¡ä»¶ã§ããã©ã³ã¹ã¯ãããŒã«ãã¬ã€ã³ã°ã²ãŒã ã®èœåãåçã«ããããã«ããã€ãã®ã¯ã©ã¹ã®ãã£ã©ã¯ã¿ãŒãèšå®ããããšãæŠç¥ã²ãŒã ã§äºãã«æŠãçžæã®å¢åã®æ°ããŸãã¯ãããã®æçšæ§ã«å¿ããŠããŸããŸãªãŠããããŸãã¯ãªãœãŒã¹ã®ã³ã¹ãã調æŽããããšã«é¢é£ä»ããããšãã§ããŸãã
ããã©ã³ã¹ãã®æè¯ã®å®çŸ©ã¯ãéåžžãåé¡ã®ã²ãŒã ã®èšèšç®æšã«äŸåããŸããããããã®ç®æšã¯ä»»æã§ããå¯èœæ§ããããããã²ãŒã å šäœã®ãã©ã³ã¹ãæ¬åœã«æå³ããããšãã¢ããªãªãªã«æ±ºå®ããããšã¯äžå¯èœã§ãã
äžéšã®ãã¬ã€ã€ãŒã¯ãæŠéã§ãã©ã³ã¹ãåãããšã¯çãããã¡ãŒãžãæå³ãããšä¿¡ããã¡ã§ãã ããã¯ãMMORPGã®å Žåã«ç¹ã«åœãŠã¯ãŸããŸããMMORPGã§ã¯ãããã¯ã©ã¹ã®1ç§ãããã®ãã¡ãŒãžïŒDPSïŒãä»ã®ã¯ã©ã¹ã«æ¯ã¹ãŠå°ããããã倧ãããããšãã°ãã°äžæºãè¿°ã¹ãŸãã
ãã¡ãããã¯ã©ã¹ã¯DPSã ãã§ãã©ã³ã¹ãåãããšã¯ã§ããŸããã 1ã€ã®ã¯ã©ã¹ã®DPSãä»ã®ã¯ã©ã¹ããã倧ããããšã¯èš±å®¹ãããŸãããããã¯ã¯ã©ã¹ã®å šäœçãªæçšæ§ãå¶éããä»ã®èŠå ãããšãã°ãçåæéã®ççž®ãçæDPSãšæ¯èŒããé·æDPSã®äœäžãªã©ã«ãã£ãŠçžæ®ºãããŸãã
å°ããªMMO
ãTiny MMOããšåŒã°ããéåžžã«åçŽåããã倧èŠæš¡ãªãã«ããã¬ã€ã€ãŒãªã³ã©ã€ã³ããŒã«ãã¬ã€ã³ã°ã²ãŒã ã§ããæ°ãããããžã§ã¯ããäœæããŠãããšæ³åããŠãã ããã èšèšéçºã®äžç°ãšããŠããã¬ãŒã€ãŒå¯Ÿãã¬ãŒã€ãŒïŒPVPïŒã®æŠãã®4ã€ã®ã¯ã©ã¹ã®ãã©ã³ã¹ãåãã4ã€ã®ã¯ã©ã¹ãã¹ãŠãäºãã«æ¯èŒçå¹³çã«æŠããæ確ãªãããè¯ãããŸãã¯ãæªããã¯ã©ã¹ãååšããªãããã«ããŸããä»ã®ã¯ã©ã¹ãšæŠãããšãã§ããŸãã
Tiny MMOã¯ãªã¢ã«ã¿ã€ã ã²ãŒã ã§ãããåãã¬ãŒã€ãŒã®ã¢ã¯ã·ã§ã³ã¯æ£ç¢ºã«3ç§ç¶ããŸãããã®ãããååããã²ãŒã ãã¬ã€ã®3ç§åã§ããã¿ãŒã³ããŒã¹ã®ã²ãŒã ãšããŠæ瀺ããããšã§ããããé¢æ£åã§ããŸãã
ãã®ã²ãŒã ã®ãã¬ã€ã€ãŒã¯ã4ã€ã®ãã£ã©ã¯ã¿ãŒã¯ã©ã¹ã®ãããããéžæã§ããŸãã
- æŠå£«ã¯æ倧ã®ãã¡ãŒãžãäžããŸãã
- ã¡ã€ãžã¯é ãããåªæãå±ãã4ã€ã®ã¯ã©ã¹ãã¹ãŠããæé·ã®æ»æç¯å²ãæã¡ãŸã
- ããŒã©ãŒïŒããŒã©ãŒïŒã¯èªåçã«åŠçãããåã¿ãŒã³ã§èªåã®å¥åº·ã®ç¹å®ã®éšåãå埩ããŸã
- éb人ïŒéb人ïŒãæãå¥åº·
ãããã®4ã€ã®ã¯ã©ã¹ã«ã€ããŠç¥ã£ãŠããã®ã¯ããã ãã§ãã4ã€ã®ã¯ã©ã¹ãã¹ãŠã«ã€ããŠãå¥åº·ïŒHPïŒããã¡ãŒãžãå埩ãæ»æç¯å²ã®åæãã©ã¡ãŒã¿ãŒãèšå®ããå¿ èŠããããŸãã åã¯ã©ã¹ãäžæã§ããããã®ç¹æ§ãä»ã®ãã¹ãŠã®ã¯ã©ã¹ãšå€§ããç°ãªãããã«ãã©ã³ã¹ããšãå¿ èŠããããŸããããã®çµæãåã¯ã©ã¹ã¯ä»ã®3ã€ã®ã¯ã©ã¹ã«å¯ŸããŠå¯èœãªéãããã©ã³ã¹ããåããããã«ãªããŸãã
ã€ãŸãã次ã®è¡šã®æé©åã«åªããŠããŸãã
ããã§ã¯ãäžæçãªå€ã䜿çšããåã¯ã©ã¹ã¯50 HPã§å§ãŸãã1ã¿ãŒã³ããã10ãã¡ãŒãžãäžãã1ã¿ãŒã³ããã0 HPãå埩ãã40ã¡ãŒãã«ã®æ»æç¯å²ããããšä»®å®ããŸããåãã£ã©ã¯ã¿ãŒã¯1å転ã«ã€ã10ã¡ãŒãã«ã®é床ã§ç§»åããŸããèšèšã§ã¯ã4ã€ã®ã¯ã©ã¹ã®ãã£ã©ã¯ã¿ãŒãã¹ãŠãåãé床ã§ç§»åã§ããããšã瀺ãããŠããããããã®å€ãå®æ°ãšèŠãªãã決å®å€æ°ã®è¡šã«ç§»åé床ãå ¥åããŸããã
æããã«ãããã¯éåžžã«åçŽåãããæå·ã¢ãã«ã䜿çšããã±ãŒã¹ã¹ã¿ãã£ã§ããããã¯ãæ¯ç§ã®ãã¡ãŒãžã®é£ç¶çãªå¹³åå€ã§ããããã«ã¹ãã¡ãŒãžãšé·æãã¡ãŒãžã®éããããã³ã¯ã©ã¹ã®æ»æèœåãå€æŽããããããã®ä»ã®ã¡ã«ããºã ãç¡èŠããŸããã»ãšãã©ã®ã¯ã©ã¹ã«ã¯æ°åçš®é¡ã®ãã¡ãŒãžãããããã1çš®é¡ã®ãã¡ãŒãžãããããŸããããããã¯éåžžã«éçŸå®çã§ããåã¿ãŒã³ã«æ»æãéžæããAIã·ã¹ãã ãå®è£ ããå¿ èŠããããŸããããã«ãã»ãšãã©ã®ã²ãŒã ã§ã¯ããã¡ãŒãžã«ã¯ã©ã³ãã æ§ã®èŠçŽ ããããŸãããããã§ã¯ãããçç¥ãããã¡ãŒãžã®ã°ãã€ãã2ã€ã®ã¯ã©ã¹éã®æŠéã®çµæã«å€§ãã圱é¿ããã»ã©å€§ãããªããšä»®å®ããŸãã
ãã¡ãããExcelã§å®è¡ããããã©ã³ã¹ã¯ãã²ãŒã ã®æçµçãªãã©ã³ã¹ãšçæ³çãŸãã¯äžè²«æ§ããããšã¯èããããŸããã圌女ã¯ãã¬ã€ãã¹ããäœåºŠãç¹°ãè¿ãå¿ èŠããããŸããããããExcelã§ã²ãŒã ã®é©åãªæåã®ãªãã·ã§ã³ãååŸããã®ã« 1ã2æéãããå Žåãå°ãªããšãåæãã©ã³ã¹ã®å®æ§çãã©ã¡ãŒã¿ãŒã«è¿ã¥ãå¯èœæ§ãé«ããªããŸããããã«ãããååŸããæçµãã©ã³ã¹ã«è¿ã¥ããŸãã
åå©è¡š
1察1ã®ããã«ã§ã¯ã4ã€ã®ã¯ã©ã¹ã®ãã©ã³ã¹ãåãå¿ èŠããããŸãã4ã€ã®ã¯ã©ã¹ïŒWarriorãMageãHealerãããã³BarbarianïŒãããªããããç°ãªãã¯ã©ã¹ã®6ã€ã®å¯èœãªçµã¿åããããããŸãã
- æŠå£«-ã¡ã€ãž
- æŠå£«-ããŒã©ãŒ
- æŠå£«-éb人
- ã¡ã€ãž-ããŒã©ãŒ
- ã¡ã€ãž-éb人
- ããŒã©ãŒ-ããŒããªã¢ã³
ãã®ãã©ã³ã¹èª¿æŽã¯éåžžã«è€éã§ãã4ã€ã®ã¯ã©ã¹ã䜿çšããæ¯èŒçåçŽãªã±ãŒã¹ã§ããæ£æ¹åœ¢ã®4ç¹éã«6æ¬ã®ç·ãåŒãããšãã§ããããã«ã6ã€ã®ã¯ã©ã¹éãªã¬ãŒã·ã§ã³ãååŸããŸããã
ããããã®ã¯ã©ã¹ã®ãã©ã¡ãŒã¿ãŒã®1ã€ã«å°ãã§ãå€æŽãå ãããã³ã«ããã®å€æŽã¯ããã®ã¯ã©ã¹ã®ãã¢ãšä»ã® 2ã€ã®ã¯ã©ã¹éã®PvPãã©ã³ã¹ã«ã圱é¿ããŸãããã®ã¹ãæ³åã®çžäºæ¥ç¶æ§ã¯ãã¯ã©ã¹æ°ã®å¢å ã«äŒŽã£ãŠã®ã¿æé·ããä»ã®ãã¹ãŠã®çžäºäœçšãèæ ®ããã«ãç空ãã§è¡ãããã¯ã©ã¹ã®ãã¢éã§PvPã®ãã©ã³ã¹ããšã決å®ã¯éåžžã«å±éºã«ãªããŸãã
çæ³çã«ã¯ãäœããã®åå©ããŒãã«ãäœæããã以äžã«ç€ºããããªãã®ã§ããã¹ãã¬ããã·ãŒãã§ãããã®6çµã®ããããã®éã®æŠããã·ãã¥ã¬ãŒãã§ããå Žåã6çµã®ããããã«å¯ŸããŠç¹å®ã®ããã€ã³ããå€æ°ãçæã§ããŸãããã€ã³ããå€ãã»ã©è¯ãã®ã§ããããã®6ã€ã®ãã€ã³ããã¹ãŠãçµã¿åãããŠç®æšé¢æ°ãçæã§ããŸãã
äžèšã®è¡šã§ã¯ã察è§ç·ã«æ²¿ã£ãã»ã«ã¯ãŒãã§ããããšã«æ³šæããŠãã ãããããã¯ãå®çŸ©ã«ãã£ãŠãã©ã³ã¹ããšãããåãã¯ã©ã¹ã®ãã¢ã瀺ãããã§ãããŸããå³äžé ã®ã»ã«ããŒãã§ããããã¯ãå·Šäžã®ã»ã«ãšãŸã£ããåããã¢ã瀺ãããã§ãã
次ã«ã2ã€ã®ç°ãªãã¯ã©ã¹éã®æŠãã«åããŠã¢ãã«ãæºåããŸãããã
ãããã«ã·ãã¥ã¬ãŒã¿ãŒã
ã¯ã©ã¹ã®åãã¢ãäºãã«100ã¡ãŒãã«ã®è·é¢ã§é 眮ããŸããåãã£ã©ã¯ã¿ãŒã«ã¯3ç§ã®æ»æããããããããã¯åã移åãã3ç§ãæå³ããã¿ãŒã³ããŒã¹ã®ã·ãã¥ã¬ãŒã·ã§ã³ãšèããããšãã§ããŸããåã移åãã§ãåãã£ã©ã¯ã¿ãŒã¯ãæ»æç¯å²å ã§ããã°çžæãæ»æããããè·é¢ãçž®ããããã«åãç¶ããŸãã
ã·ãã¥ã¬ãŒã·ã§ã³ã¯æ¬¡ã®ããã«ãªããŸãã
äžèšã¯æŠéã«åå ãã2人ã®ãã£ã©ã¯ã¿ãŒã§ãããã®å ŽåãMageïŒã¯ã©ã¹1ïŒãšHealerïŒã¯ã©ã¹2ïŒã§ããå·Šã®åã¯ãã·ãã¥ã¬ãŒãããã2ã€ã®ãã£ã©ã¯ã¿ãŒéã®çŸåšã®è·é¢ã瀺ããŠããŸãã
åæåã®åã¯æ¬¡ã®ãšããã§ãã
- Max Range : , . .
- Healing : , .
- HP : . HP , . , .
- Damage : , , . , 0.
- Attacks? : , . , , ; , , .
ãããã£ãŠãäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒã¯ãäºãã«åãã£ãŠåãå§ãããã®åŸãã©ã¡ãããŸãã¯äž¡æ¹ãæ»ã¬ãŸã§æ»æããŸããåãã£ã©ã¯ã¿ãŒã¯ã3ç§ããšã«5ã¡ãŒãã«ãã€ç§»åããŸãïŒãã¿ãŒã³ãããšã«5ã¡ãŒãã«ïŒãäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒããäºãã«åãã£ãŠç§»åãããšãç¯å²ããšã«10ãŠããããã€å€åããã©ã¡ããäžæ¹ã ãã移åãããš5ãŠããããã€å€åããŸããã²ãŒã èªäœã¯ãäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒãåæã«åãå§ããããšãã§ããããã«æ§æãããŠããããã®åŸãåæã«åããèš±å¯ããããããäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒãåæã«æ»ã¬å¯èœæ§ããããŸãã
次ã«ããã®ããŒãã«ã®ã¹ã³ã¢ãèšå®ããæŠéãã©ãã ããè¯ãããã瀺ãæ°å€ãçæããå¿ èŠããããŸããã€ãŸããèšèšç®æšã®éæã«ã©ãã ãè¿ãããšããããšã§ãã
æããã«ãäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒãæŠéçµäºãŸã§ã«æ»ã¬ããå°ãªããšãå¯èœãªéãæ»ã«è¿ã¥ããŸããæŠéã®ãã©ã³ã¹ãåããŠããã°ãäž¡æ¹ã®æŠéã¯ã©ã¹ãæŠéçµäºæã«æµã®å¥åº·ãæå°åããã¯ãã§ãã
ãã ããããã ãã§ã¯ååã§ã¯ãããŸããããã®æ¹æ³ã§ã¹ã³ã¢ãªã³ã°ãæŽçãããšããªããã£ãã€ã¶ãŒã¯ãäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒãå³åº§ã«ãäºãã殺ãããã«ããã¡ãŒãžå€ãã§ããã ã倧ããããã ãã§ãïŒ ïŒèå³ãããå Žåã¯ãèšäºã«æ·»ä»ãããŠããã¹ãã¬ããã·ãŒããå€æŽããŠã¿ãŠãã ãããïŒæããã«ãç§ãã¡ã¯å³æ»ãç®æããŠåªåããŠããŸãããäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒãæŠéçµäºãŸã§ã«æ»ãã§ããããã»ãšãã©æ»ãã§ããå¿ èŠããããŸãããåæã«æŠãã劥åœãªæéæç¶ããããã§ãã
èšãæããã°ããã¹ãŠã®ã¯ã©ã¹ã®ãã©ã³ã¹ãæ¯èŒçåçã«ãªãããã«åªåããŠããã ãã§ã¯ãããŸããããŸããæŠããé©åãªæéç¶ãããšãå«ãããã©ã³ã¹ãé¢çœãããããšæããŸãã
ãã®ãããªãã©ã³ã¹ã®èŠç©ãããçæããã«ã¯ãåããŒãã«ã®å³åŽã«ããã€ãã®ã»ã«ãäœæããå¿ èŠããããŸããç¶ç¶æéã¯ãæŠéã®ç¶ç¶æéã瀺ããŸãã圌女ã¯äž¡æ¹ã®ãã£ã©ã¯ã¿ãŒããŸã çããŠããããŒãã«ã®è¡æ°ãæ°ããŸããTotal HPã¯ãçãæ®ã£ã2人ã®ãã£ã©ã¯ã¿ãŒã®åèšããããã€ã³ããèšç®ããŸããçæ³çã«ã¯ã0ã«ããå¿ èŠããããŸããã€ãŸããæŠéãçµäºãããŸã§ã«ãäž¡æ¹ã®ãã£ã©ã¯ã¿ãŒãæ»äº¡ããŸãã
æåŸã«ãã¹ã³ã¢ã¯ããã©ãŒã å ã®ããããã€ã³ãã®ç¶ç¶æéãšåèšéãçµã¿åãããŸãïŒæé/ïŒ1 +åèšHPïŒïŒã Total HPã0ã«ãªãå¯èœæ§ããããããé€æ°ã«1ãè¿œå ããããšã«æ³šæããŠãã ããããã®å ŽåããŒãã«ããé€ç®ãšã©ãŒãçºçããŸãããããã£ãŠãç§ãã¡ã¯ãæŠãã®æ倧æéèŠã€ããããã®ãã®ãªããã£ãã€ã¶ã®å ±é ¬ãä¿èšŒããããšãã§ããŸãããããããã€ã³ãã®éã®æå°å€ãã
ïŒã¯ã©ã¹éã®æŠéã®åãã·ãã¥ã¬ãŒã·ã§ã³ãã«ã¯17è¡ãããããããã¯æ¬è³ªçã«ãæŠããçŽ17ã©ãŠã³ãç¶ãã¹ãã§ãããšããèšèšäžã®æ±ºå®ãè¡ã£ãããšã«æ³šæããŠãã ãããé·ãå Žåã¯ãè¡æ°ãå€æŽããã¹ã³ã¢ãèšç®ããããã®åŒãç·šéããããã«å¿ããŠåæé©åããããšãã§ããŸãã
æåŸã«ãããã6ã€ã®ã¹ã³ã¢å€ïŒåããŒãã«ã«1ã€ïŒãååŸããäžèšã®åå©ããŒãã«ã§äœ¿çšããŠãã¯ã©ã¹ã®åãã¢éã®æŠéã®çµæã瀺ããŸãã
ãããã®6ã€ã®ã¹ã³ã¢å€ãåçŽã«èŠçŽãããã®çµæãæçµçãªã¹ã³ã¢å€ãšããŠäœ¿çšã§ããŸãããã ãããããè¡ããšããœã«ããŒã¯åã ã®æŠãã®æé«ãšæäœã®æ Œä»ãã®ãã©ã³ã¹ãèŠã€ããããšãã§ããªããªããã¯ã©ã¹ã®ãã¢ã«ãã£ãŠã¯éåžžã«é«ãæ Œä»ããç²åŸããä»ã®ã¯ã©ã¹ã®äœãæ Œä»ããç²åŸããŸããããã¯ç§ãã¡ãæãã§ããããšã§ã¯ãããŸããããã¹ãŠã®ããŒã¯ãé«ãããå¿ èŠããããããããã¹ãŠãäžããããåªããŠããŸãããããä¿®æ£ããããã«ãæšå®å€ã®åèšã«æå°å€ãæããŸã ã°ã«ãŒãè©äŸ¡ïŒExcel MINïŒïŒé¢æ°ã䜿çšïŒã«ããããœã«ããŒãæãäœãå€ã®æšå®å€ã«éäžã§ããããã«ããŸãã
å¶éãè¿œå ãã
ãŸã çµãã£ãŠããŸãããçŸåšã®ãã©ã¡ãŒã¿ãŒã䜿çšããŠãœãªã¥ãŒã·ã§ã³ã¢ãã«ãæé©åãããšãã¯ã©ã¹ãæ£ããæ§æãããªãå¯èœæ§ãé«ããªããŸã-å®éãã¢ãã«ãåãHPãæå·ãå埩ãç¯å²ã®å€ã決å®å€æ°ã®ããŒãã«ã«æžã蟌ãå¯èœæ§ãé«ããªããŸãã
ãããŠãã¡ãããåã¯ã©ã¹ã«ç¬èªã®åæ§ãæãããããšæã£ãŠããŸããæ倧ã®ãã¡ãŒãžãäžããã«ã¯æŠå£«ãå¿ èŠã§ãããã¡ã€ãžã«ã¯æ倧ã®ç¯å²ããããããŒã©ãŒã«ã¯æ倧ã®ããŒãªã³ã°å€ããããããŒããªã¢ã³ã«ã¯æ倧ã®HPããããŸãããŸãããããã®éããå°ãããªããããªãããã«ããå¿ èŠããããŸãããããã®ã¯ã©ã¹ã¯äºãã«å€§ããç°ãªãå¿ èŠããããŸãã
ãããè¡ãããã«ãå¶éã®å°ããªããŒãã«ãäœæããŸãããã®è¡šã«ããã4ã€ã®ã¯ã©ã¹ã®ããããã«å¯Ÿå¿ããå±æ§ãèšå®ãããå¶çŽæ¡ä»¶ãæºããããŠãããã©ããã«å¿ããŠ0ãŸãã¯1ã®ã¹ã³ã¢ãäžããããŸãã
å³åŽã®è¡šã®æå°å·®ã¯ãä»ã®ãã¹ãŠã®ã¯ã©ã¹ã«å¯Ÿããã¯ã©ã¹ã®åå±æ§ã®æå°å·®ã瀺ããŠããŸããèšãæããã°ãæŠå£«ã¯ä»ã®ãã¹ãŠã®ã¯ã©ã¹ãããå°ãªããšã4 HP以äžã®ãã¡ãŒãžãäžããããªããã°ãªãããã¡ã€ãžã¯å°ãªããšã10以äžã®æ»æç¯å²ãæããªããã°ãªããŸããã
ãããã®ç¹å¥ãªå¶éãè¿œå ããã®ã§ãæé©åããæãæ¥ãŸããïŒ
ãœãªã¥ãŒã·ã§ã³ãæ€çŽ¢
ããã§ãExcelã«çµã¿èŸŒãŸããŠãããœã«ããŒããŒã«ïŒããœãªã¥ãŒã·ã§ã³ã®æ€çŽ¢ãïŒãå®è¡ããŠãåæãã©ã¡ãŒã¿ãŒãæé©åããããšãã§ããŸããã¿ãŒã²ããã»ã«ãšããŠã6ã€ã®ããŒãã¡ã³ããã¹ãŠã®çµæãçµåããã¹ã³ã¢ã»ã«ãéžæããŸããæåã«äœæããé»è²ã®æ±ºå®å€æ°ããŒãã«ã«16åã®ã»ã«ãã¹ãŠãå«ããããã«æ±ºå®å€æ°ãèšå®ããŸãã
ãŸãã次ã®ããã«å¶çŽïŒ[å¶çŽã®å¯Ÿè±¡]ãã£ãŒã«ãã§ïŒãèšå®ããŸãã
- ãã¹ãŠã®æ±ºå®ã»ã«ã¯ãæå°å€ã0ã®æŽæ°ã§ãªããã°ãªããŸããã
- HPåã®ãã¹ãŠã®ã»ã«ã®æ倧å€ã¯200ãæå°å€ã¯30ã§ãªããã°ãªããŸããã
- æå·åã®ãã¹ãŠã®ã»ã«ã®æ倧å€ã¯20ã§ãã
- ããŒãªã³ã°åã®ãã¹ãŠã®ã»ã«ã®æ倧å€ã¯15ã§ãã
- [ç¯å²]åã®ãã¹ãŠã®ã»ã«ã®æ倧å€ã¯100ã§ãã
- ãŸããç¹å¥ãªå¶çŽã»ã¯ã·ã§ã³ã®4ã€ã®ã»ã«ã¯ãã¹ãŠãç¹å¥ãªæ¡ä»¶ãæºããããã«1ã«èšå®ããå¿ èŠããããŸãã
æåŸã«ãSolving MethodãEvolutionaryã«èšå®ããSolverãå®è¡ããŸããããã¯é²åçã¢ã«ãŽãªãºã ã§ããããã2åç®ãŸãã¯3åç®ã®ãœã«ããŒå®è¡äžããŸãã¯é²åçæé©åã®ãã©ã¡ãŒã¿ãŒïŒãªãã·ã§ã³ãã¿ã³ïŒã®èšå®åŸã«èŠã€ãã£ããœãªã¥ãŒã·ã§ã³ãæ¹åããå¯èœæ§ãããããšã«æ³šæããŠãã ããã
ãã®çµæã次ã®ããã«ãªããŸãã
...ãããŠãŸãã§éæ³ã®ããã«ããœã«ããŒã¯ç§ãã¡ã«è¯ãåæãã©ã³ã¹æ§æãäžããŸããã
ã芧ã®ãšãããä»ã§ã¯æŠå£«ãæ倧ã®ãã¡ãŒãžãäžããéè¡åž«ãæ倧ã®ç¯å²ãæã¡ãããŒã©ãŒãæé«ã®ããŒã«ãæã¡ãããŒããªã¢ã³ãæ倧ã®HPãæã£ãŠããŸããããã«ãåã ã®ããŒãã¡ã³ãã®çµæããã¯ã©ã¹å¯Ÿã¯ã©ã¹ãã§ç¢ºèªããã¯ã©ã¹å士ãã©ã®ããã«æŠããèŠããŠããããèŠãããšãã§ããŸããã芧ã®ããã«ããããã®ã»ãšãã©ã¯éåžžã«åçã«ãã©ã³ã¹ãåããŠããŸã-æŠãã®çµãããŸã§ã«äž¡æ¹ã®ã¯ã©ã¹ãæ»ã«ãããŠãããããããã®1ã€ããããããŠçãæ®ããŸããããã«ããã¹ãŠã®ããŒãã¡ã³ãã¯ååã«é·ãç¶ããäžæ¹ã®ã¯ã©ã¹ãä»æ¹ããã¯ã³ããããããããšã¯ã§ããŸããã
æ°æéã®ä»äºã§æªããªãã§ãããïŒ
ãããã«
ãã®äŸã§ã¯ãåçŽãªãã©ã³ã¹èª¿æŽã¿ã¹ã¯ãäœæããå®éã«ã·ãã¥ã¬ãŒã·ã§ã³ãšæé©åã®å©ããåããŠããã解決ã§ããããšã瀺ããŸããããããåçŽãªäŸã§ããããšã¯æããã§ãããã¢ããªã³ã°æè¡ãšææ決å®ã®æé©åã®åã瀺ããŠããŸããããã«ãã€ã³ã¹ãã¬ãŒã·ã§ã³ã®æºãšãªããã²ãŒã ã®ã·ãã¥ã¬ãŒã·ã§ã³ã«å¯æ¥ã«çµ±åãããããè€éãªãã©ã³ã·ã³ã°ããŒã«ã§äœ¿çšã§ããŸãããã®äŸãå®éã«ãã®ãããªã¿ã¹ã¯ãå®åŒåããããã®ã¬ã€ããšããŠäœ¿çšã§ããããšãé¡ã£ãŠããŸãã
ã·ãªãŒãºã®æ¬¡ã®2ã€ã®ããŒãã§ã¯ã2ã€ä»¥äžã®ãšã³ãã£ãã£ã»ããããã®æé©ãªå²ãåœãŠã®éžæã«é¢é£ããå²ãåœãŠã¿ã¹ã¯ã®é åã«é£ã³èŸŒã¿ãŸãããããã®ã¿ã€ãã®åé¡ã解決ããæ¹æ³ã瀺ãããã®ã¢ãããŒãã䜿çšããŠiOS / Android City Conquestã®æŠç¥ã²ãŒã ã§ã¿ã¯ãŒãã¶ã€ã³ãäœæããæ¹æ³ã瀺ããŸãã