摘要:
什么是bitsetbitset 是STL库中的二进制容器,根据C++ reference 的说法,bitset可以看作bool数组,但优化了空间复杂度和时间复杂度,并且可以像整形一样按位与或。使用方法申明bitset的申明要指明长度bitset bi这样就申明了一个长度为length的名叫bi的bi... 阅读全文
posted @ 2015-08-07 23:02
好地方bug
阅读(3624)
评论(2)
推荐(1)
摘要:
Harry Potter has n mixtures in front of him, arranged in a row. Each mixture has one of 100 different colors (colors have numbers from 0 to 99).He wan... 阅读全文
posted @ 2015-08-07 22:05
好地方bug
阅读(240)
评论(0)
推荐(0)
摘要:
CardsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/vjudge/contest/view.action?cid=86686#problem/KDescriptionYou haveNcards with dif... 阅读全文
posted @ 2015-08-07 21:41
好地方bug
阅读(465)
评论(0)
推荐(0)

浙公网安备 33010602011771号