STL 库中的陷阱----一个难以察觉的 bug
摘要:
请找出下面程序的 bug?int maxProfit2(vector &prices){ int local[3] = {0}; int global[3] = {0}; for(int i=0; i=1; --j) { local[j] = max(global[j-1]... 阅读全文
posted @ 2014-04-09 14:19
L_J_SHOU
阅读(139)
评论(0)
推荐(0)
浙公网安备 33010602011771号