51ߺҽԡúšüҳġΪּԡ֤֤Ǽ֤ԱԡϵͳࡱΪṩߺӢҽ̣ߺѧҽ̣ߺҽ̣ߺѧҽ̣ߺƼҽ̣ߺĿƼҽ̣ߺҽ̣ߺҽ̣ߺҽ̣ߺȫƼҽ̵һһżҽ̷񡣱ߺҽӵߺҽϢԱϢÿ춼д¼ҽϢͽԱ^_^ 
51ߺҽ-ߺõļҽ
ҽ:
ҽ:15155332008
 
ֻ51ߺҽ
ߺҽ  ߺҽ  ߺҽϢ  ߺʦϢ  ߺҽշѱ׼  Խ   ɫС
   ǰλã51ߺҽ ҳ Ѷ

Ϣݽṹϰ⾫ѡ

Դ:51ߺҽ    :2023    :2016-7-28 9:04:22
ߺҽѼϢݽṹϰ⾫ѡ

һѡ
1㷨ָǣ
A Bļ㷽 C㷨 D
2Աʽ洢ʱĴ洢ַ
ADz B
C DͷĴ洢ַ
3ΪnĵڳΪmĵ֮㷨ʱ临ӶΪ
AO1 BOn COm DOm+n
4ջһռĺôǣ
Aٴȡʱ䣬緢Ļ Bʡ洢ռ䣬緢Ļ
Cٴȡʱ䣬緢Ļ Dʡ洢ռ䣬緢Ļ
5data[m]ΪѭSQĴ洢ռ䣬frontΪͷָ룬rearΪβָ룬ִгӲͷָfrontֵΪ
Afront=front+1 Bfront=(front+1)%(m-1)
Cfront=(front-1)%m Dfront=(front+1)%m
6³ȷǣ
AһԱ Bijȱ
CԪֻĸ Dմǿհ״
7. ݽṹһԽṹ( )
A. ͼ B. C. D. B
8. һHLУҪڵǰָpָĽһqָĽ㣬ִ( )С
A. p=q; p->next=q; B. p->next=q; q->next=p;
C. p->next=q->next; p=q; D. q->next=p->next; p->next=q;
9. һǶеĻ㣿
A. ڶеiԪ֮һԪ B. ӶͷɾһԪ
C. жһǷΪ D.ȡͷԪصֵ
10. ַABCνһջջȺ˳ɲַͬ( )ַͬ
A.14 B.5 C.6 D.8
11. ȨֱֵΪ3,8,6,2ҶһùĴȨ·Ϊ( )
A 11 B.35 C. 19 D. 53
12. ͼΪ( )
A. EGFACDB B. EAGCFBD
C. EACGBDF D. EGACDFB
13. ͼΪ( )
A. AEBGDCF B. A EGCFBD
C. AECBDGF D. BDCAFGE
14. ͼİΪ( )
AEGFACDB B. EACBDGF
C. EACGFBD D. EGACDFB
15. ͼĴ洢ȷ( )
Aڽӱ洢ͼռõĴ洢ռСֻͼбйأ޹
Bڽӱ洢ͼռõĴ洢ռСͼбͽй
C. ڽӾ󷨴洢ͼռõĴ洢ռСͼнͱй
DڽӾ󷨴洢ͼռõĴ洢ռСֻͼбйأ޹
16. йؼ(qgmzanpxh)һǴгѵĽ?( )
A. aghmnpqxz
B. agmhqnpxz
C. gmqanpxhz
D. hgmpanqxz
17ij򷽷ȶָ( )
A㷨ͬĹؼּ¼
B㷨ͬĹؼּ¼
CƽʱΪ0n log n򷽷

18㷨УУ ȶġ
A. ð B. 򣬶
C. ֱѡ򣬹鲢 D. 鲢ð
19򷽷УеıȽϴ򷽷޹صǡ( )
Aѡ B. C. D.
20㷨,һ㷨ʱ临Ӷʼ޹أ
A ֱӲ B. ð C. D. ֱѡ
21һݣ8447251521ݵдĹеı仯Ϊ
1 84 47 25 15 21 2 15 47 25 84 21
3 15 21 25 84 47 4 15 21 25 47 84
õ ( )
A. ѡ B. ð C. D.
22㷨( )ܱ֤ÿܽһԪطŵյλϡ
A. B. shell C. D.ð
23һݣ1597820-174 ÿĻַһ˻ֺݵΪ ( )򣩡
ABCDԡ B9784-171520
C2015897-147 D. 94787-11520
24һ¼ĹؼΪ467956384084ÿķԵһ¼Ϊ׼õһλֽΪ
A(38,40,46,56,79,84) B. (40,38,46,79,56,84)
C(40,38,46,56,79,84) D. (40,38,46,84,56,79)
25. 򷽷УռΪOn( )
Aϣ B. C. ѡ D. 鲢
26㷨Уڴʱʱ䷴( )
A ð B. ϣ C. D.
27ֻõ1000Ԫɵе5СԪ֮ǰIJУã 졣
A B CShell D Eѡ
28ļֲ򡱻ļȽС£ڲķǣ
AֱӲ Bð Cѡ
29㷨У 㷨ܻһ˿ʼ֮ǰԪضյλϡ
A. B. ð C. D.
30. 㷨Уռøռǣ( )
A. 鲢 B. C. ϣ D.
31. 򷽷ڣ ڷ䳤
A. Ҫ̫ B. Ҫкжֵͬ
C. ҪݸΪ D. Ҫѻ
32. вǶѵ( )
A. (100,85,98,77,80,60,82,40,20,10,66)
B. (100,98,85,82,80,77,66,60,40,20,10)
C. (10,20,40,60,66,77,80,82,85,98,100)
D. (100,85,40,77,80,60,66,98,82,10,20)
33. ǣ 򣬶ƽִеʱ临ӶȺҪӵĴ洢ռ临Ӷȷֱǣ
A. B. C. 鲢 D. E. ѡ
F. On2O1 G. Onlog2nO1 H. Onlog2nOn
I. On2On
34n ¼ļжµִʱǶ٣
AOlog2nBOn COnlog2n DOn*n

1 for ( i=2; i<=n; i ++)
if (r[i] < r[i-1])
{
r[0] = r[i]; // Ϊ
for ( j=i-1; r[0] < r[j]; j -- )
; // ¼
r[j+1] = r[0]; // 뵽ȷλ
}
2ֱӲõؼڼ¼Ѿ˳򣩣ȽϡĴΪ ƶĴΪ ؼڼ¼򣩣ȽϡĴ ƶĴ
3һϣ£뽫д
for ( i=d+1; i<=n; i ++)
if ( ) {
r[0] = r[i]; // ݴR[0]ڱ
for (j=i-d; j>0&&(r[0]
r[j+d] = r[j]; // ¼ƣҲλ
; //
}
4ͨĹУֻIJ
1ȽؼֵĴС
2
5ѡ£
void xx(int arr[])
{
int min,j;
for(int i=1;i<=n;i++){
min=i;
for(j=i+1;j<=n;j++)
if(arr[j] ;
if(i!=min) swap(arr,i,min);
}
}

1һؼ3918253758224180ֱди򷽷зǵݼʱһ˱仯Ḷ́

2
3



2дͼһȱкһֹȱС


ȣ




ȣ




ٶ:Ϣݽṹϰ⾫ѡ

------վԴȨԭУַȨϵǡ

    ۣ

Ŀǰû


    ۣ
* ⣺  
 
:
֤:λ֤

51ߺҽ | ʦҽ |ѧԱ |Ա |շѱ׼ |ѧԱ |Ϣ |Ա |Ա֪ |վ
ӭߵ绰15155332008  ߺо·29 绰0553-3872008 ΢ź/QQţ308150188
©2010 51ߺҽ  http://www.capyLabs.com    Ȩ δ ת  ˽  վͼxml
ʵ51ߺҽ ߺҽ ʦҽ ߺһҽ  ICP  ִ63