èªåã®æèãæ´çããæå³ã§ãã件ã®ã¢ã¬ã«ã¤ãã¦èãããã¨ãæ¸ãã¦ã¿ãã å¤æ°ã«åããªãã¨ãããã¨ã®å©ç¹ã«ã¤ãã¦èãã - ãµã³ãã«ã³ã¼ãã«ããPerlå ¥é http://d.hatena.ne.jp/perlcodesample/20130227/1361928810 ãã®ä»¶ã«è§¦ãããã¨ã¯ããã°ã©ãã¨ãã¦ã®ä¸äºç ã§ãããæ¥ããããããã¸ã¬ã¹ä¹ã ã ã§ãæ°ã¥ããã5000æåãæ¸ãã¦ãã¾ã£ãããå ¬éãã¦é ã®ãã§å¯ãã åã®ããã¼ã¯æ©æ¢°ã®ããã ãã§ãªãã人éã«å¯¾ãããã®ã§ããã æè¿TypeScriptãæ¸ãã¦ãããããã¤ã使ã£ã¦ãäºæ¬¡å 座æ¨ä¸ã§äºç¹éãæ±ããé¢æ°ãgetDistanceãå®ç¾©ãã¦ã¿ããã interface IPoint { x: Number; y: Number; } var getDistance = (a:IPoint, b:IPoint): Number => Ma
{{#tags}}- {{label}}
{{/tags}}