ãã®è¨äºã¯ãé«éãã¼ãªã¨å¤æã®1ã¤ã®ããªã¨ã¼ã·ã§ã³ã§ãããNumeric Theory Translation(æ°è«å¤æ)ã®è©³ãã解説è¨äºã§ãã ãã¾ããªãã£ãã®ã§æ¸ãã¾ããã æ°è«å¤æã«ãããã¡ãª ãªãã§$10^9 + 7$ãããã¡ãªã®ã åå§æ ¹ã£ã¦ä½ï¼ ã¨ãã«ã¤ãã¦ããããè¦ãã°ãããã¾ãã åæç¥èã¨ãã¦ã¯ãFast Fourier Translation(é«éãã¼ãªã¨å¤æ)ãå¿ è¦ã§ãã kaage大å çã®Qiitaè¨äºã¨ãã¯ä¸é«çã«ãããããããæ¸ããã¦ãã¾ãã ä¸ã«ä¸å¿èªåã®åå¼·ãã¼ããè¼ãã¾ãã(ä¸ã®è¨äºã®è¡éãåããæãã§ã) ã§ã¯ãæ°è«å¤æã«ã¤ãã¦èª¬æãããã¨æãã¾ãã é«éãã¼ãªã¨å¤æã®å¼±ç¹ é«éãã¼ãªã¨å¤æã¯æ£ããã§ãããå¼±ç¹ã¨ãã¦ç²¾åº¦ã足ããªãã¨ããã®ãããã¾ãã ãªããªãã°ãè¤ç´ æ°ã®1ã®$2^m$ä¹æ ¹ã¯è¨ç®ä¸ã§ã¯ãã£ãã¨ãã64bitå精度浮åå°æ°ç¹ã®doubleã®
{{#tags}}- {{label}}
{{/tags}}