阅读背景:

创建大小为n的布尔数组的所有可能方式?

来源:互联网 

I need to be able to create a boolean array of one combination and run it through a program to see if it works. If not then I dispose of it and go to the next combination. My issue is that I don't know how to create this array because n can be equal anywhere from 1-1000. So I was planning on using Integer.toBinaryString but that won't work due to its too big when it gets to past 32. Any help would be greatful.I need to be able to create a boolean array of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: