1 const int MAXN = 35; 2 const int M = 1e9;//1e9为1节 3 struct highNum{ 4 ll num[MAXN]; 5 highNum(int length = 1){ 6 memset(num, 0, sizeof(num)); 7 num[... ...
                            
                            
                                分类:
其他好文   时间:
2017-08-23 00:46:23   
                                阅读次数:
231
                             
                    
                        
                            
                            
                                耗时(50分钟)不压位 内容只有高精度+-*,因为其他我不会写QAQ~ 均ACluogu,codevs ...
                            
                            
                                分类:
其他好文   时间:
2017-08-13 00:08:18   
                                阅读次数:
149
                             
                    
                        
                            
                            
                                    #include #include #include #include #include #include using namespace std; #define MAXN 9999 #define MAXSIZE 10000 #define DLEN 4 class BigNum{ privat... ...
                            
                            
                                分类:
其他好文   时间:
2017-07-23 22:35:39   
                                阅读次数:
162
                             
                    
                        
                            
                            
                                1 #include 2 #include 3 #include 4 using namespace std; 5 void r(int *a) 6 { 7 string b;cin>>b; 8 int l=b.length(); 9 for (int i=1;i=1;i--) coutb[i];}... ...
                            
                            
                                分类:
其他好文   时间:
2017-05-23 23:44:23   
                                阅读次数:
231
                             
                    
                        
                            
                            
                                2更简短的模板 3 更多参见http://www.mamicode.com/info-detail-454902.html ...
                            
                            
                                分类:
其他好文   时间:
2017-02-28 21:50:22   
                                阅读次数:
183
                             
                    
                        
                            
                            
                                    重新写一下高精度模板(不要问我为什么) 自认为代码风格比较漂亮(雾 如果有更好的写法欢迎赐教 封装结构体big B是压位用的进制,W是每位长度 size表示长度,d[]就是保存的数字,倒着保存,从1开始 ...
                            
                            
                                分类:
其他好文   时间:
2016-12-10 00:13:13   
                                阅读次数:
218
                             
                    
                        
                            
                            
                                    #ifndef BIGNUM #define BIGNUM class BigNum { #define MAXSIZEOFBIGNUM 500 #define BASE 10 #define DLEN 1 public: int Len; int d[MAXSIZEOFBIGNUM]; publi ...
                            
                            
                                分类:
其他好文   时间:
2016-11-26 16:49:51   
                                阅读次数:
224
                             
                    
                        
                            
                            
                                转自郭大侠博客。。。 1 #include<string> 2 #include<iostream> 3 #include<iosfwd> 4 #include<cmath> 5 #include<cstring> 6 #include<stdlib.h> 7 #include<stdio.h> 8 ...
                            
                            
                                分类:
其他好文   时间:
2016-10-04 20:53:51   
                                阅读次数:
206