锘??xml version="1.0" encoding="utf-8" standalone="yes"?>青青草国产精品久久久久,久久精品中文字幕无码绿巨人,国产AV影片久久久久久http://m.shnenglu.com/superman/archive/2009/05/12/51363.html#82723紲濅綘濂借繍錛?/dc:creator>紲濅綘濂借繍錛?/author>Tue, 12 May 2009 11:38:00 GMThttp://m.shnenglu.com/superman/archive/2009/05/12/51363.html#82723浠涔堟剰鎬濓紵

]]>
re: ZOJ 1298 - Domino Effecthttp://m.shnenglu.com/superman/archive/2009/04/30/52491.html#81557xiaobaixiaobaiThu, 30 Apr 2009 05:11:00 GMThttp://m.shnenglu.com/superman/archive/2009/04/30/52491.html#81557

xiaobai 2009-04-30 13:11 鍙戣〃璇勮
]]>
re: POJ 2157 - Mazehttp://m.shnenglu.com/superman/archive/2009/03/07/54207.html#75821鐢熸椿瑕佷綆璋?/dc:creator>鐢熸椿瑕佷綆璋?/author>Sat, 07 Mar 2009 06:22:00 GMThttp://m.shnenglu.com/superman/archive/2009/03/07/54207.html#75821

]]>
re: ZOJ 1913 - Euclid's Gamehttp://m.shnenglu.com/superman/archive/2009/01/28/44614.html#72655zczcWed, 28 Jan 2009 09:45:00 GMThttp://m.shnenglu.com/superman/archive/2009/01/28/44614.html#72655

zc 2009-01-28 17:45 鍙戣〃璇勮
]]>
re: ZOJ 1148 - The Gamehttp://m.shnenglu.com/superman/archive/2008/10/11/48269.html#63755灝忚彍灝忚彍Sat, 11 Oct 2008 10:36:00 GMThttp://m.shnenglu.com/superman/archive/2008/10/11/48269.html#63755涓嶇煡閬撴槸涓嶆槸zoj鍗囩駭鍚庨偅浜涙祴璇曟暟鎹敼浜嗐傘傘?img src ="http://m.shnenglu.com/superman/aggbug/63755.html" width = "1" height = "1" />

灝忚彍 2008-10-11 18:36 鍙戣〃璇勮
]]>
re: ZOJ 1168 - Function Run Funhttp://m.shnenglu.com/superman/archive/2008/10/08/46856.html#63482kkkkWed, 08 Oct 2008 08:41:00 GMThttp://m.shnenglu.com/superman/archive/2008/10/08/46856.html#63482
#include<iostream> //涓洪伩鍏嶆棤闄愮殑鎴栧ぇ閲忕殑閲嶅閫掑綊錛岋紝鎬庝箞鍔烇紵錛燂紝鏁扮粍妯℃嫙

using namespace std;

const int N=100;
int f[N][N][N];

int recur(int a,int b,int c){

if(a<=0 || b<=0 || c<=0){
f[a][b][c]=1;
}
else if(a>20 || b>20 || c>20){
f[a][b][c]=recur(20,20,20);

}
else if(a<b && b<c){
if(f[a][b][c-1] == 0 )
f[a][b][c-1]=recur(a,b,c-1);
if(f[a][b-1][c-1]== 0)
f[a][b-1][c-1]=recur(a,b-1,c-1);
if(f[a][b-1][c] == 0 )
f[a][b-1][c]=recur(a,b-1,c);
f[a][b][c]=f[a][b][c-1]+f[a][b-1][c-1]-f[a][b-1][c];

}
else{
if(f[a-1][b][c] == 0)
f[a-1][b][c]=recur(a-1,b,c);
if(f[a-1][b][c-1] == 0)
f[a-1][b][c-1]=recur(a-1,b,c-1);
if(f[a-1][b-1][c] == 0)
f[a-1][b-1][c]=recur(a-1,b-1,c);
if(f[a-1][b-1][c-1]==0)
f[a-1][b-1][c-1]=recur(a-1,b-1,c-1);
f[a][b][c]=f[a-1][b][c]+f[a-1][b][c-1]+f[a-1][b-1][c]-f[a-1][b-1][c-1];
}

return f[a][b][c];

}

int main()
{

int a,b,c;

//cout<<"杈撳叆3涓暟: "<<endl;

while(cin>>a>>b>>c) {
//memset(f,0,sizeof(f));//鍐欒繖涓氨瓚呮椂銆傘傘?

if(a==-1 && b==-1 && c==-1) break;

if(a<=0 || b<=0 || c<=0)
cout<<"w("<<a<<", "<<b<<", "<<c<<") = "<<1<<endl;

else
cout<<"w("<<a<<", "<<b<<", "<<c<<") = "<<recur(a,b,c)<<endl;
}

return 0;

}

kk 2008-10-08 16:41 鍙戣〃璇勮
]]>
re: ZOJ 1251 - Box of Brickshttp://m.shnenglu.com/superman/archive/2008/09/08/51739.html#61327鐏拌壊姍欏瓙鐏拌壊姍欏瓙Mon, 08 Sep 2008 11:35:00 GMThttp://m.shnenglu.com/superman/archive/2008/09/08/51739.html#61327#include<iostream>
using namespace std;
int main()
{int n,i,a[51],sum,ave,text,ans;
text=0;
while(cin>>n&&n!=0)
{text++;
sum=ans=0;
for(i=0;i<n;i++)
{cin>>a[i];
sum+=a[i];}
ave=sum/n;
for(i=0;i<n;i++)
{if(a[i]>ave)ans+=a[i]-ave;}
cout<<"Set #"<<text<<endl;
cout<<"The minimum number of moves is "<<ans<<"."<<endl<<endl;
}
return 0;
}


]]>
shuai: ZUJ 1201 - Inversionhttp://m.shnenglu.com/superman/archive/2008/08/22/45301.html#59627涓瑙堜紬灞卞皬涓瑙堜紬灞卞皬Fri, 22 Aug 2008 03:00:00 GMThttp://m.shnenglu.com/superman/archive/2008/08/22/45301.html#59627#include<vector>
using namespace std;
int main()
{
int num;
char ch;
while(cin>>num&&num)
{
int data[51][2];
cin>>ch;
int i,j,k;
if(ch=='P')
{
for(i=0;i<num;i++)
{
cin>>data[i][0];
data[i][1]=0;//瀵規暟緇勫垵濮嬪寲蹇呴』鐨?
// cout<<data[i][0]<<" "<<data[i][1]<<endl;
}
for(i=num-1;i>=0;i--)
for(j=i-1;j>=0;j--)
if(data[j][0]>data[i][0])
data[i][1]++;


for(i=0;i<num-1;i++)
{
bool changed=true;
for(j=0;j<num-i-1;j++)
if(data[j][0]>data[j+1][0])
{
changed=false;
int temp1=data[j][0];
int temp2=data[j][1];
data[j][0]=data[j+1][0];
data[j][1]=data[j+1][1];
data[j+1][0]=temp1;
data[j+1][1]=temp2;
}
if(changed)
break;
}



for(i=0;i<num;i++)
{
cout<<data[i][1];
if(i<num-1)
cout<<" ";
}
cout<<endl;
}



if(ch=='I')
{
for(i=0;i<num;i++)
{
cin>>data[i][1];
data[i][0]=0;
// cout<<data[i][0]<<" "<<data[i][1]<<endl;
}


j=0;
for(i=0;i<num;i++)
if((!data[i][1])&&(!data[i][0]))
{
j++;
data[i][0]=i+1;
cout<<i+1;
if(j<num)
cout<<" ";
for(k=0;k<i;k++)
data[k][1]--;
i=-1;
}
cout<<endl;
}
}
return 0;
}



]]>
re: ZOJ 1108 - FatMouse's Speedhttp://m.shnenglu.com/superman/archive/2008/08/16/45390.html#59065qq:78393083qq:78393083Sat, 16 Aug 2008 08:39:00 GMThttp://m.shnenglu.com/superman/archive/2008/08/16/45390.html#5906538 for(int i = 2; i <= n; i++)
39 {
40 for(int j = 1; j < i; j++)
41 if(mice[i].w > mice[j].w && mice[i].s < mice[j].s)
42 if(opt[i] < opt[j])
43 {
44 opt[i] = opt[j];
45 path[i] = j;
46 }
47 opt[i]++;
48 }
鍦ㄨ繖涓渶闀夸笉涓嬮檷搴忓垪鐨勬瀯閫犻噷闈㈢殑絎?7琛宱pt[i]++涓鍙ユ湁鐐歸棶棰橈紝濡傛灉鍦?
榪欎釜for(int j = 1; j < i; j++)寰幆閲岄潰濡傛灉娌℃湁鎵懼埌絎﹀悎鏉′歡鐨刴ice閭d箞錛宱pt銆恑銆戜笉搴斿綋鍔犱竴錛岃屼笖浣犺繖涓唬鐮佸湪zoj涓婁篃娌℃湁AC銆傛槸鍚﹀嚭浜嗕竴鐐歸棶棰樸?img src ="http://m.shnenglu.com/superman/aggbug/59065.html" width = "1" height = "1" />

]]>
re: ZOJ 1558 - Euro Efficiencyhttp://m.shnenglu.com/superman/archive/2008/08/01/44608.html#577744444Fri, 01 Aug 2008 08:28:00 GMThttp://m.shnenglu.com/superman/archive/2008/08/01/44608.html#57774

44 2008-08-01 16:28 鍙戣〃璇勮
]]>
亚洲va国产va天堂va久久| 亚洲精品NV久久久久久久久久| 一本久久知道综合久久| 7777久久久国产精品消防器材 | 久久99国产精品久久| 国产精品美女久久久久av爽 | 久久99精品久久久久久水蜜桃| 精品久久久久久久久久中文字幕| 人妻精品久久久久中文字幕| 久久永久免费人妻精品下载| 久久精品国产亚洲5555| 日韩乱码人妻无码中文字幕久久| 91久久精品电影| 色婷婷综合久久久久中文| 久久精品无码专区免费| 国产成人久久精品区一区二区| 色欲综合久久躁天天躁| 国产欧美久久一区二区| 亚洲va久久久噜噜噜久久男同| 国产成人精品久久一区二区三区av | 色诱久久av| 青青青国产成人久久111网站| 免费久久人人爽人人爽av| 国产成人无码久久久精品一| 久久青青草视频| 欧美性猛交xxxx免费看久久久| 国产精品久久久久影院色| 久久久久波多野结衣高潮| 欧美久久天天综合香蕉伊| 国产精品午夜久久| 久久久久综合网久久| 久久久久亚洲av无码专区| 色欲久久久天天天综合网精品 | 色综合久久久久综合体桃花网| 香蕉久久永久视频| 久久久久黑人强伦姧人妻| 国产精品欧美久久久久无广告 | 久久99久久无码毛片一区二区| 国产成人综合久久久久久| 99久久夜色精品国产网站| 一本大道久久a久久精品综合|