怎么编这个程序..A file contains a large quantity N of numbers (say around 1000000).Design an algorithm to extract the n largest numbers from the file (say n is around 1000).There is room in memory to hold an array a[1]...a[n] of n numbers,but

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/14 09:33:34
xN@_eVS$z詪TE9,aILݰ,B)I _m/ⴕHJHxy!>u4j{=ڏη%/k1 sfB3E"\)cs\k lR"f!5?Cjyb )Xpˎ 9PmgD܊boǍ'* &Z\5R&5 dX6{#su3b?Gw`Z%0$z_ -w]̱s22j`HXy,Gg܅Yr $,e(sW@I 1\+U6M?ƛ1"-AoGA(l)$jTAggpcJ5qqd 3=OF~7>.WxvD^+<\Uo/wCmn&3![)ୄO2YW/dΥEQ|'^ z[ݚ8nۣTF ȯ+1bqL+p627/.v]|˽Tz_OF|;IyVza/( oxxCw8YsTX$k>k Dؔ