討論串[理工] [資結]-交大97
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
題目想找:是否存在 某個X子集,其整數和正好是B這個數. max(X') :取出集合中的最大值. count(X'): X'的元素個數. function main(). {. for(int i=1;i <= n;i++) //收集小於等於B的元素. {. if(Xi <= B). X' += X
(還有1343個字)
內容預覽:
Given a set of integers X={x1,x2,...,xn} and an integer bound B, design an. algorithm that determines whether a subset X' of X exists such that all. e
(還有3個字)
首頁
上一頁
1
下一頁
尾頁