摘要:        
https://nanti.jisuanke.com/t/41356 cpp include using namespace std; typedef long long ll; namespace FastIO { define BUF_SIZE 1000000 bool IOError = 0;    阅读全文
posted @ 2019-09-11 19:40
Inko
阅读(143)
评论(0)
推荐(0)
        
            
        
        
摘要:        
目录 "D Interesting Series" "E Magic Master" "I Yukino With Subinterval" D Interesting Series 在dq大佬的指点下搞出来的,貌似因为w的误差累积导致要longdouble才能通过。当然据说是预处理w也可以通过。     阅读全文
posted @ 2019-09-11 16:01
Inko
阅读(461)
评论(2)
推荐(0)
        
            
        
        
摘要:        
一般来说只是需要用一个组合数,当MOD大于n和m的时候可以这样求: cpp const ll MOD = 1e9 + 7; const int MAXN = 1e6; ll inv[MAXN + 5], fac[MAXN + 5], invfac[MAXN + 5]; void init_C(int    阅读全文
posted @ 2019-09-11 01:21
Inko
阅读(196)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号