-->
当前位置:首页 > 搜索 "程序填空题"

程序填空题:并-查运算

Luz4年前 (2021-05-10)1021
本题要求给出下列并查集操作执行后,集合数组内存储的结果。```union(find(4),find(6))union(find(2),find(7))union(find(0),find(4))union(find(7)......

程序填空题:Modified Selection Sort [1]

Luz4年前 (2021-05-10)857
Thefunctionistosortthelist{`r[1]…r[n]`}innon-decreasingorder.Unlikeselectionsortwhichplacesonlythe......

程序填空题:Modified Selection Sort [2]

Luz4年前 (2021-05-10)786
Thefunctionistosortthelist{`r[1]…r[n]`}innon-increasingorder.Unlikeselectionsortwhichplacesonlythe......

程序填空题:Modified Selection Sort [3]

Luz4年前 (2021-05-10)757
Thefunctionistosortthelist{`r[0]…r[n-1]`}innon-increasingorder.Unlikeselectionsortwhichplacesonlyt......

程序填空题:Balanced Tree [1]

Luz4年前 (2021-05-10)628
Abinarytreeissaidtobe"heightbalanced"ifbothitsleftandrightsubtreesareheightbalanced,andtheheightso......

程序填空题:Balanced Tree [3]

Luz4年前 (2021-05-10)540
Abinarytreeissaidtobe"heightbalanced"ifbothitsleftandrightsubtreesareheightbalanced,andtheheightso......

程序填空题:Balanced Tree [2]

Luz4年前 (2021-05-10)597
Abinarytreeissaidtobe"heightbalanced"ifbothitsleftandrightsubtreesareheightbalanced,andtheheightso......

程序填空题:奇数序列和

Luz4年前 (2021-05-10)2300
计算1+3+5+7+ …… +N的值,N为奇数,且1˂=N˂=10001。```c++#includeintmain(){intN;intsum;intstep;intnumber;sc......

程序填空题:净化字符串

Luz4年前 (2021-05-10)3006
输入一个字符串(长度不超过100),去掉其中的空格字符,输出净化后的字符串。输入样例:sanxiaoliankao输出样例:sanxiaoliankao请补充完成下面的程序。```c++#include#defineMAX_LE......

程序填空题:成绩统计

Luz4年前 (2021-05-10)5385
输入一个考试成绩的序列,以-1为结束标记。成绩均为整数,且在0到100之间。序列长度在1到1000之间。计算并输出最高、最低和平均成绩。输入举例:1020304050-1输出举例:501030.00```c++#include......

程序填空题:考试成绩

Luz4年前 (2021-05-10)3711
班长用QQ给各位同学发送考试分数(0到100之间的整数)。发送的信息包括三行字符串,第一行的字符串的长度-1是分数的百位数字,第二行的字符串的长度-1是分数的十位数字,第三行的字符串的长度-1是分数的个位数字。可是,小明只想知道自己的成绩等...

程序填空题:RL Rotation

Luz4年前 (2021-05-10)1232
Thefunction`RL_Rotation`istodoright-leftrotationtothetrouble-findertreenode`T`inanAVLtree.```c++typede......

程序填空题:LR Rotation

Luz4年前 (2021-05-10)682
Thefunction`LR_Rotation`istodoleft-rightrotationtothetrouble-findertreenode`T`inanAVLtree.```c++typede......

程序填空题:Right-left Rotation

Luz4年前 (2021-05-10)876
Thefunction`RL_Rotation`istodoright-leftrotationtothetrouble-findertreenode`T`inanAVLtree.```c++typede......

程序填空题:Left-right Rotation

Luz4年前 (2021-05-10)1075
Thefunction`LR_Rotation`istodoleft-rightrotationtothetrouble-findertreenode`T`inanAVLtree.```c++typede......

程序填空题:LL Rotation

Luz4年前 (2021-05-10)1086
Thefunction`LL_Rotation`istodoright-leftrotationtothetrouble-findertreenode`T`inanAVLtree.```c++typede......

程序填空题:RR Rotation

Luz4年前 (2021-05-10)1555
Thefunction`RR_Rotation`istodoright-rightrotationtothetrouble-findertreenode`T`inanAVLtree.```c++typed......

程序填空题:fibonacci数列

Luz4年前 (2021-05-10)2447
用数组来求fibonacci数列问题,打印前20项数列,每行打印4个数。```c++#includeintmain(){inti;intf[20]={1,1};for(i=2;i˂20;i++)f[i]=@@[f......

程序填空题:BinQueue_Merge [1]

Luz4年前 (2021-05-10)798
Thefunction`BinQueue_Merge`istomergetwobinomialqueues`H1`and`H2`,andreturn`H1`astheresultingqueue.``......

程序填空题:CAT's Copy

Luz4年前 (2021-05-10)4599
阅读下面的程序,完成其中复制构造函数的代码。```C++#includeusingnamespacestd;classCAT{public:CAT();CAT(constCAT......