摘要:        
URAL_1149 根据通项公式找到递推式之后就可以递归打印任意的An及Sn了。#include<stdio.h>#include<string.h>int N;void dfsA(int n, int up){ if(n == 1) { printf("sin(%d)", up); return ; } printf("sin(%d%c", up - n + 1, (up - n + 1) & 1 ? '-' : '+'); dfsA(n - 1, up); printf(")&    阅读全文
        
            posted @ 2012-05-26 20:45
Staginner
阅读(154)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号