如何将vector初始化?

P3613 【深基15.例2】寄包柜

WaltVBAlston @ 2021-07-15 21:21:45

RT,怕比赛的时候判定我没有初始化。


by int32 @ 2021-07-15 21:28:17

v.clear();


by Big_Turκey @ 2021-07-15 21:46:32

vector<int> v(SIZE)

by Hilte @ 2021-07-16 08:39:46

vector<int> v(SIZE,VALUE)

by Enterprise_E @ 2021-09-11 18:57:56

@Andy_2006

具体的看这里


|