摘要:        
1 #include<stdio.h> 2 #include<algorithm> 3 #include<stdlib.h> 4 using namespace std; 5 6 typedef struct 7 { 8 int x; 9 int y;10 }node;11 12 int fun(int a)13 {14 int t=0;15 while(a)16 {17 t=t*10+a%10;18 a=a/10;19 }20 return t;21 }22 23 int cmp(const nod...    阅读全文
posted @ 2013-04-06 10:36
萧凡客
阅读(236)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1 #include<stdio.h> 2 #include<string.h> 3 int a[1000]; 4 5 void fun(int n) 6 { 7 int i,t,v; 8 v=0; 9 for(i=0;i<1000;i++)10 {11 t=a[i]*n+v;12 a[i]=t%10;13 v=t/10;14 }15 }16 17 int main()18 {19 int i,j,n,m;20 scanf("%d",&n);21 while(n--)22 ...    阅读全文
posted @ 2013-04-06 10:35
萧凡客
阅读(310)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号