16 Xs give 2**16-1 different combinations, 1 was from c(16,0).Use allcomb() to list all of combinations and compute their sums. then find the minimum value and pinpoint its corresponding combination(s). of note; use format to mirror the value to its name.
sas手册关于allcomb() 讲的比我更清楚。
另外,如果数字的个数超过25个,这个程序应该变得很慢。
jingju


雷达卡

京公网安备 11010802022788号







