assign函数语法:void assign( input_iterator start, input_iterator end ); void assign( size_type num, const TYPE &val );assign() 函数要么将区间[start, end)的元素赋到当前vector,或者赋num个值为val的元素到vector中.这个函数将会清除掉为vector赋值以前的内容.例如a.assign(9,8) \\将9个8赋值给容器a Read More
CardTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10Accepted Submission(s): 9Problem DescriptionBearchild is playing a card game with himself. But first of all, he needs to shuffle the cards. His strategy is very simple: After putting all the car Read More