全球旧事资料 分类
ord
i
tmai
defi
ei
tile
gth0strle
charword100stri
gxword
i
putci
getli
eword100getli
eci
xword
executefori0wordi0ile
gthpri
t_spacedwordle
gthcoute
dlstrle
xwordle
gthpri
t_spacedxwordstrle
output
retur
0
4
排序函数重载(20分)
题目内容:编写一组重载的排序函数,可以对两个整数、三个整数、四个整数、整数数组从大到小排序函数名为sort其中数组排序应使用递归的方法,另补充pri
t函数,在一行显示排序后的数组元素。主函数如下:i
tmai
i
tabcdi
tdata100i
tk
i
ci
kswitchk
fcase1ci
absortabcouta
好听全球资料 返回顶部