锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产∨亚洲V天堂无码久久久,精品久久久久久国产,日本免费一区二区久久人人澡http://m.shnenglu.com/momoxiao/category/14764.htmlzh-cnSat, 01 Jan 2011 01:36:14 GMTSat, 01 Jan 2011 01:36:14 GMT60涓緇存暟緇勬眰鍜屼紭鍖栫殑闂http://m.shnenglu.com/momoxiao/archive/2010/12/30/137770.html灝忛粯灝忛粯Thu, 30 Dec 2010 14:18:00 GMThttp://m.shnenglu.com/momoxiao/archive/2010/12/30/137770.htmlhttp://m.shnenglu.com/momoxiao/comments/137770.htmlhttp://m.shnenglu.com/momoxiao/archive/2010/12/30/137770.html#Feedback0http://m.shnenglu.com/momoxiao/comments/commentRss/137770.htmlhttp://m.shnenglu.com/momoxiao/services/trackbacks/137770.html闃呰鍏ㄦ枃

灝忛粯 2010-12-30 22:18 鍙戣〃璇勮
]]>
3.姹俰!*2^i搴忓垪鐨勫間笖涓嶈秴榪噈axinthttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111348.html灝忛粯灝忛粯Thu, 01 Apr 2010 15:55:00 GMThttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111348.htmlhttp://m.shnenglu.com/momoxiao/comments/111348.htmlhttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111348.html#Feedback0http://m.shnenglu.com/momoxiao/comments/commentRss/111348.htmlhttp://m.shnenglu.com/momoxiao/services/trackbacks/111348.html/*
 *姹俰!*2^i搴忓垪鐨勫間笖涓嶈秴榪噈axint
 *褰撴煇涓欏圭殑緇撴灉瓚呰繃浜唌axint鏃?瀹冮櫎浠ュ墠闈竴欏圭殑鍟嗕細鍙戠敓寮傚父. 
*/
#include
<stdio.h>

#define MAXSIZE 9

void main()
{
    
int last,i;
    
int a[MAXSIZE];

    last 
= 1;

    
for(i = 1; i <= MAXSIZE; i++)
    {
        a[i
-1= last*2*i;
        
if((a[i-1]/last) != (2*i))
            
return;
        last 
= a[i-1];
    }
    printf(
"%d\n",last);
    system(
"pause");
}


灝忛粯 2010-04-01 23:55 鍙戣〃璇勮
]]>
銆?銆戜竴鍏冨欏瑰紡http://m.shnenglu.com/momoxiao/archive/2010/04/01/111344.html灝忛粯灝忛粯Thu, 01 Apr 2010 15:51:00 GMThttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111344.htmlhttp://m.shnenglu.com/momoxiao/comments/111344.htmlhttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111344.html#Feedback0http://m.shnenglu.com/momoxiao/comments/commentRss/111344.htmlhttp://m.shnenglu.com/momoxiao/services/trackbacks/111344.html/*
 *姹備竴鍏冨欏瑰紡鐨勫?br>
*/
#include
<stdio.h>

#define MAXSIZE 5 //鏈澶氭湁鍑犻」

void main()
{
    
float a[MAXSIZE]; //瀛樻斁緋繪暟
    float *= a;
    
float xp,sum; //xp瀛樻斁x鐨刬嬈℃柟
    int n; //鏈楂橀」鎸囨暟
    float x;
    
int i;

    scanf(
"%f,%d",&x,&n);
    
for(i = 0; i <= n; i++)
        scanf(
"%f",p++); //p++灝辨槸鍦板潃,涓嶇敤鍐嶈鍙栧湴鍧絎﹀彿

    p 
= a;
    xp 
= 1
    sum 
= 0;

    
for(i = 0; i <= n; i++)
    {
        sum 
+= xp*(*p++);
        xp 
*= x;
    }

    printf(
"%f\n",sum);

    system(
"pause");
    
return;

}


灝忛粯 2010-04-01 23:51 鍙戣〃璇勮
]]>
銆?銆戞眰i!*2^i搴忓垪鐨勫間笖涓嶈秴榪噈axinthttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111338.html灝忛粯灝忛粯Thu, 01 Apr 2010 15:21:00 GMThttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111338.htmlhttp://m.shnenglu.com/momoxiao/comments/111338.htmlhttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111338.html#Feedback0http://m.shnenglu.com/momoxiao/comments/commentRss/111338.htmlhttp://m.shnenglu.com/momoxiao/services/trackbacks/111338.html/*
 *姹俰!*2^i搴忓垪鐨勫間笖涓嶈秴榪噈axint
 *褰撴煇涓欏圭殑緇撴灉瓚呰繃浜唌axint鏃?瀹冮櫎浠ュ墠闈竴欏圭殑鍟嗕細鍙戠敓寮傚父. 
*/
#include
<stdio.h>

#define MAXSIZE 9

void main()
{
    
int last,i;
    
int a[MAXSIZE];

    last 
= 1;

    
for(i = 1; i <= MAXSIZE; i++)
    {
        a[i
-1= last*2*i;
        
if((a[i-1]/last) != (2*i))
            
return;
        last 
= a[i-1];
    }
    printf(
"%d\n",last);
    system(
"pause");
}


灝忛粯 2010-04-01 23:21 鍙戣〃璇勮
]]>
銆?銆慿闃舵枑娉㈤偅濂戝簭鍒楃殑絎琺欏圭殑鍊糵,O(m^2)http://m.shnenglu.com/momoxiao/archive/2010/04/01/111335.html灝忛粯灝忛粯Thu, 01 Apr 2010 15:02:00 GMThttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111335.htmlhttp://m.shnenglu.com/momoxiao/comments/111335.htmlhttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111335.html#Feedback0http://m.shnenglu.com/momoxiao/comments/commentRss/111335.htmlhttp://m.shnenglu.com/momoxiao/services/trackbacks/111335.html/*
 * 姹俴闃禙ibonacci搴忓垪鐨勭m欏圭殑鍊糵,O(m^2)
 * Fibonacci鏁板垪: 鏁板瓧0,  1錛?錛?錛?錛?錛?錛嶏紞錛嶆瀯鎴愪簡涓涓簭鍒椼傝繖涓暟鍒楀墠闈㈢浉閭諱袱欏逛箣鍜岋紝鏋勬垚浜嗗悗涓欏?
 * K闃禙ibonacci鏁板垪鐨勫墠K-1欏瑰潎涓?,絎琸欏逛負1,浠ュ悗鐨勬瘡涓欏歸兘鏄墠K欏圭殑鍜?
*/

#include
<stdio.h>

#define MAX_LENGTH 50 //k,m<50
void main()
{
    
int temp[MAX_LENGTH]; 
    
int k,m,f; //k闃禙ibonacci鏁板垪,絎琺欏?鍊間負f
    int i,j,sum;

    scanf(
"%d,%d",&k,&m);

    
if(k < 2 || m < 0)
        
return;

    
if(m < k-1)
        f 
= 0;
    
else if(m == k-1)
        f 
= 1;
    
else
    {
        
//鍒濆鍖?/span>
        for(i = 0; i <= k-2; i++)
            temp[i] 
= 0;
        temp[k
-1= 1;

        
for(i = k; i <= m; i++//姹傚嚭搴忓垪絎琸鑷崇m涓厓绱犵殑鍊?/span>
        {
            sum 
= 0;
            
for(j = i-k; j < i; j++) sum += temp[j];
            temp[i] 
= sum;
        }

        f 
= temp[m];
    }

    printf(
"%d\n",f);
    system(
"pause");

}


灝忛粯 2010-04-01 23:02 鍙戣〃璇勮
]]>
銆?銆戞寜浠庡ぇ鍒板皬欏哄簭杈撳嚭3涓暟,鍐掓場鎺掑簭http://m.shnenglu.com/momoxiao/archive/2010/04/01/111325.html灝忛粯灝忛粯Thu, 01 Apr 2010 13:58:00 GMThttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111325.htmlhttp://m.shnenglu.com/momoxiao/comments/111325.htmlhttp://m.shnenglu.com/momoxiao/archive/2010/04/01/111325.html#Feedback0http://m.shnenglu.com/momoxiao/comments/commentRss/111325.htmlhttp://m.shnenglu.com/momoxiao/services/trackbacks/111325.html2.swap浼犻掔殑搴旇鏄湴鍧

#include<stdio.h>

//浜ゆ崲x,y,浼犺繃鏉ョ殑鏄湴鍧,榪樹笉鏄?/span>
void swap(int *x, int *y)
{
    
int tmp;
    tmp 
= *x;
    
*= *y;
    
*= tmp;
}

//鎸変粠澶у埌灝忛『搴忚緭鍑?涓暟,鍐掓場鎺掑簭
void main()
{
    
int x,y,z,tmp;
    scanf(
"%d,%d,%d",&x,&y,&z); //鏍煎紡鍖栬緭鍏?"7,9,8",娉ㄦ剰閫楀彿,鍜宻canf淇濇寔涓鑷?/span>
    if(x < y)
        swap(
&x,&y);
    
if(y < z)
        swap(
&y,&z);
    
if(x < y)
        swap(
&x,&y);
    printf(
"%d,%d,%d",x,y,z);
    system(
"pause");

}


灝忛粯 2010-04-01 21:58 鍙戣〃璇勮
]]>
中文精品久久久久国产网址 | 精品国产99久久久久久麻豆| 久久精品国产一区二区| 久久青青草原精品国产软件| 久久国产AVJUST麻豆| 国产69精品久久久久777| 久久久久一级精品亚洲国产成人综合AV区 | 国产色综合久久无码有码| 久久精品黄AA片一区二区三区| 国产三级久久久精品麻豆三级 | 欧美午夜A∨大片久久| 亚洲国产精品18久久久久久| 青草影院天堂男人久久| 中文字幕久久波多野结衣av| 久久免费精品视频| 亚洲AV成人无码久久精品老人 | 午夜精品久久久久久99热| 久久www免费人成精品香蕉| 久久夜色精品国产网站| 久久只有这里有精品4| 丁香久久婷婷国产午夜视频| 亚洲va久久久噜噜噜久久狠狠| 久久久久国产| 99久久99久久精品国产片| 乱亲女H秽乱长久久久| 亚洲精品视频久久久| 国产亚洲成人久久| 久久精品免费观看| AV狠狠色丁香婷婷综合久久| 亚洲国产精品无码久久久不卡| 欧美一区二区久久精品| 欧美日韩精品久久久久| 久久伊人色| 久久婷婷人人澡人人| 久久久无码精品亚洲日韩软件| 久久91精品国产91久久小草| 99久久无码一区人妻a黑| 国产V综合V亚洲欧美久久| 大伊人青草狠狠久久| 麻豆精品久久精品色综合| 亚洲一本综合久久|